From 0543e5e858872e983f87d203b58a42a8e11d691a Mon Sep 17 00:00:00 2001 From: ajreynol Date: Fri, 31 May 2024 16:11:20 -0500 Subject: [PATCH] Fixes --- src/compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler.cpp b/src/compiler.cpp index cf8da6ed..f6351e77 100644 --- a/src/compiler.cpp +++ b/src/compiler.cpp @@ -563,7 +563,7 @@ size_t Compiler::writeExprInternal(const Expr& e, CompilerScope& s) { // we should just evaluate it if the scope specifies it should be evaluated os << " _ctxTmp.clear();" << std::endl; - os << " _etmp = evaluateProgramInternal(" << argList.str() + os << " _etmp = d_tc.evaluateProgram(" << argList.str() << ", _ctxTmp);" << std::endl; os << " " << cs.d_prefix << ret << " = evaluate(_etmp.getValue(), _ctxTmp);" << std::endl; @@ -573,7 +573,7 @@ size_t Compiler::writeExprInternal(const Expr& e, CompilerScope& s) else if (isLiteralOp(ck)) { os << " " << cs.d_prefix << ret - << " = evaluateLiteralOp(Kind::"; + << " = d_tc.evaluateLiteralOp(Kind::"; os << cur.getKind() << ", " << argList.str() << ");" << std::endl; wroteExpr = true;