aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl.cpp b/src/repl.cpp
index 114ff58..88fefab 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -30,7 +30,7 @@ static bool
readParseType(CEnv& cenv, Cursor& cursor, istream& is, const AST*& exp, const AST*& ast)
{
try {
- exp = read_expression(cenv.penv, cursor, is);
+ exp = cenv.penv.parse(cursor, is);
} catch (Error e) {
is.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); // Skip REPL junk
throw e;