summaryrefslogtreecommitdiff
path: root/src/parser/antlr_input.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-05-12 20:29:17 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-05-12 20:29:17 +0000
commit8d691eac8e478576ebceb6406a8e372db5e3f7f1 (patch)
treecd808cd26804490fd5a2e938bf24fdec85918004 /src/parser/antlr_input.h
parent05d29aa0de4c2d4d773a81375fb14584221595ea (diff)
true and false are only defined if the core theory is loaded in SMT v2 strict mode
Diffstat (limited to 'src/parser/antlr_input.h')
-rw-r--r--src/parser/antlr_input.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/antlr_input.h b/src/parser/antlr_input.h
index 4e075e5dd..27337c35f 100644
--- a/src/parser/antlr_input.h
+++ b/src/parser/antlr_input.h
@@ -90,7 +90,7 @@ class Parser;
* for the given input language and attach it to an input source of the
* appropriate type.
*/
-class AntlrInput : public Input{
+class AntlrInput : public Input {
/** The token lookahead used to lex and parse the input. This should usually be equal to
* <code>K</code> for an LL(k) grammar. */
unsigned int d_lookahead;
@@ -192,7 +192,7 @@ protected:
void setAntlr3Parser(pANTLR3_PARSER pParser);
/** Set the Parser object for this input. */
- void setParser(Parser *parser);
+ virtual void setParser(Parser& parser);
};
inline std::string AntlrInput::tokenText(pANTLR3_COMMON_TOKEN token) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback