summaryrefslogtreecommitdiff
path: root/src/parser/smt
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-05-04 19:31:24 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-05-04 19:31:24 +0000
commit67a3ba16218ca0a936a6f2430dce721a076885f3 (patch)
treedff41999a0fb7a043c3421272e451cb2718010a4 /src/parser/smt
parent437686e2050a622a3f7e68077aff46fd6af83cbd (diff)
Adding general support for SMT2 set-info command
Diffstat (limited to 'src/parser/smt')
-rw-r--r--src/parser/smt/smt_input.cpp4
-rw-r--r--src/parser/smt/smt_input.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/smt/smt_input.cpp b/src/parser/smt/smt_input.cpp
index 520e6a6d6..7c8bf19dd 100644
--- a/src/parser/smt/smt_input.cpp
+++ b/src/parser/smt/smt_input.cpp
@@ -27,9 +27,9 @@ namespace CVC4 {
namespace parser {
/* Use lookahead=2 */
-SmtInput::SmtInput(AntlrInputStream *inputStream) :
+SmtInput::SmtInput(AntlrInputStream& inputStream) :
AntlrInput(inputStream, 2) {
- pANTLR3_INPUT_STREAM input = inputStream->getAntlr3InputStream();
+ pANTLR3_INPUT_STREAM input = inputStream.getAntlr3InputStream();
AlwaysAssert( input != NULL );
d_pSmtLexer = SmtLexerNew(input);
diff --git a/src/parser/smt/smt_input.h b/src/parser/smt/smt_input.h
index 429f4dad5..1d3f87668 100644
--- a/src/parser/smt/smt_input.h
+++ b/src/parser/smt/smt_input.h
@@ -47,7 +47,7 @@ public:
*
* @param inputStream the input stream to use
*/
- SmtInput(AntlrInputStream *inputStream);
+ SmtInput(AntlrInputStream& inputStream);
/**
* Create a string input.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback