summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index cd70fde0f..0c1f3822b 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -718,7 +718,7 @@ public:
Command* nextCommand();
/** Parse and return the next expression. */
- Expr nextExpression();
+ api::Term nextExpression();
/** Issue a warning to the user. */
void warning(const std::string& msg) { d_input->warning(msg); }
@@ -845,7 +845,7 @@ public:
public:
ExprStream(Parser* parser) : d_parser(parser) {}
~ExprStream() { delete d_parser; }
- Expr nextExpr() override { return d_parser->nextExpression(); }
+ Expr nextExpr() override { return d_parser->nextExpression().getExpr(); }
};/* class Parser::ExprStream */
//------------------------ operator overloading
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback