summaryrefslogtreecommitdiff
path: root/src/parser/input.cpp
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-04-29 16:53:19 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-04-29 16:53:19 +0000
commit194c5b6f04c7c9bec8c0f23b88ac8d0f0094186a (patch)
tree20faf669228e725a7521311841a13b5ddbb71a78 /src/parser/input.cpp
parentb99ec8f0f659884d30c5fa1a9312addd07e75059 (diff)
First draft implementation of SMT v2 parser
Diffstat (limited to 'src/parser/input.cpp')
-rw-r--r--src/parser/input.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/input.cpp b/src/parser/input.cpp
index 5df017f16..33bee84a6 100644
--- a/src/parser/input.cpp
+++ b/src/parser/input.cpp
@@ -27,6 +27,7 @@
#include "expr/type.h"
#include "parser/cvc/cvc_input.h"
#include "parser/smt/smt_input.h"
+#include "parser/smt2/smt2_input.h"
#include "util/output.h"
#include "util/Assert.h"
@@ -182,6 +183,10 @@ Input* Input::newInput(InputLanguage lang, AntlrInputStream *inputStream) {
input = new SmtInput(inputStream);
break;
+ case LANG_SMTLIB_V2:
+ input = new Smt2Input(inputStream);
+ break;
+
default:
Unhandled(lang);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback