diff options
Diffstat (limited to 'src/repl.cpp')
-rw-r--r-- | src/repl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repl.cpp b/src/repl.cpp index 50064f8..b70618e 100644 --- a/src/repl.cpp +++ b/src/repl.cpp @@ -35,6 +35,7 @@ readParseType(CEnv& cenv, Cursor& cursor, istream& is, const AST*& exp, const AS try { exp = cenv.penv.parse(cursor, is); } catch (Error e) { + cerr << e.what() << endl; is.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); // Skip REPL junk throw e; } |