diff options
Diffstat (limited to 'src/parser/smt2/smt2_input.h')
-rw-r--r-- | src/parser/smt2/smt2_input.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parser/smt2/smt2_input.h b/src/parser/smt2/smt2_input.h index ad32edcbc..c003a76ec 100644 --- a/src/parser/smt2/smt2_input.h +++ b/src/parser/smt2/smt2_input.h @@ -33,6 +33,7 @@ class ExprManager; namespace parser { class Smt2Input : public AntlrInput { + typedef AntlrInput super; /** The ANTLR3 SMT2 lexer for the input. */ pSmt2Lexer d_pSmt2Lexer; @@ -85,6 +86,11 @@ protected: */ Expr parseExpr() throw(ParserException); + /** Set the Parser object for this input. This implementation overrides the super-class + * implementation to add the core theory symbols to the parser state when strict + * mode is disabled. */ + virtual void setParser(Parser& parser); + };/* class Smt2Input */ }/* CVC4::parser namespace */ |