aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resp.cpp')
-rw-r--r--src/resp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resp.cpp b/src/resp.cpp
index 2b08fc3..e2f5a49 100644
--- a/src/resp.cpp
+++ b/src/resp.cpp
@@ -155,7 +155,7 @@ main(int argc, char** argv)
ifstream is(*f);
try {
while (is.good() && !is.eof()) {
- Cursor loc(*f);
+ Cursor loc(*f, 1, 1);
const AST* exp = cenv->penv.parse(loc, is);
if (!exp || (exp->to_tuple() && exp->to_tuple()->empty()))
break;
@@ -194,7 +194,7 @@ main(int argc, char** argv)
ifstream is(*f);
if (is.good()) {
- Cursor cursor(filename);
+ Cursor cursor(filename, 1, 1);
ret = ret | eval(*cenv, cursor, is, !batch);
} else {
cerr << argv[0] << ": " << *f << ": " << strerror(errno) << endl;