diff options
Diffstat (limited to 'llvm.cpp')
-rw-r--r-- | llvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |