aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resp.cpp')
-rw-r--r--src/resp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resp.cpp b/src/resp.cpp
index cef2d0c..49c4643 100644
--- a/src/resp.cpp
+++ b/src/resp.cpp
@@ -143,7 +143,7 @@ main(int argc, char** argv)
try {
while (is.good() && !is.eof()) {
Cursor loc(*f);
- const AST* exp = read_expression(cenv->penv, loc, is);
+ const AST* exp = cenv->penv.parse(loc, is);
if (!exp || (exp->to_tuple() && exp->to_tuple()->tup_len() == 1))
break;