aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm.cpp')
-rw-r--r--llvm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm.cpp b/llvm.cpp
index e08d4fb..8357f6d 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -514,7 +514,7 @@ eval(CEnv& cenv, const string& name, istream& is)
if (exp.type == SExp::LIST && exp.list.empty())
break;
- result = parseExpression(cenv.penv, exp); // Parse input
+ result = cenv.penv.parse(exp); // Parse input
result->constrain(cenv.tenv); // Constrain types
cenv.tenv.solve(); // Solve and apply type constraints
resultType = cenv.tenv.type(result);
@@ -560,7 +560,7 @@ repl(CEnv& cenv)
if (exp.type == SExp::LIST && exp.list.empty())
break;
- AST* body = parseExpression(cenv.penv, exp); // Parse input
+ AST* body = cenv.penv.parse(exp); // Parse input
body->constrain(cenv.tenv); // Constrain types
cenv.tenv.solve(); // Solve and apply type constraints