Add stub for incomplete line editing
diff --git a/Repl.h b/Repl.h
index b3470f2..10a922b 100644
--- a/Repl.h
+++ b/Repl.h
@@ -5,6 +5,7 @@
#include "Evaluator.h"
#include "AstNode.h"
+#include "Parser.h"
class Repl
{
@@ -17,8 +18,8 @@
protected:
QString readLine();
void addHistory(QString line);
- bool trySpecialCase(QString line);
- bool tryEvaluate(QString line, QList<AstNode> *expr);
+ ParseResult trySpecialCase(QString line);
+ ParseResult tryEvaluate(QString line, QList<AstNode> *expr);
Evaluator _eval;