diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-09-27 22:04:38 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-09-27 22:04:38 +0000 |
commit | ad0a71e2782bc291ba9f808d24df2e1d8ca1b41e (patch) | |
tree | 744a9ae0f10f6dd8837d7e0dcd8bd2b25d34e481 /src/parser/parser_builder.cpp | |
parent | 51daaee8eb1ee55ee3323c5395a95fd121fe87a8 (diff) |
* Rename SMT parts (printer, parser) to SMT1
* Change --lang smt to mean SMT-LIBv2
* --lang smt1 now means SMT-LIBv1
* SMT-LIBv2 parser now gives helpful error if input looks like v1
* SMT-LIBv1 parser now gives helpful error if input looks like v2
* CVC presentation language parser now gives helpful error if input
looks like either SMT-LIB v1 or v2
* Other associated changes
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/parser/parser_builder.cpp')
-rw-r--r-- | src/parser/parser_builder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/parser_builder.cpp b/src/parser/parser_builder.cpp index bd71f71e7..73c31f578 100644 --- a/src/parser/parser_builder.cpp +++ b/src/parser/parser_builder.cpp @@ -21,7 +21,7 @@ #include "parser/parser_builder.h" #include "parser/input.h" #include "parser/parser.h" -#include "smt/smt.h" +#include "smt1/smt1.h" #include "smt2/smt2.h" #include "tptp/tptp.h" @@ -86,8 +86,8 @@ Parser* ParserBuilder::build() Parser* parser = NULL; switch(d_lang) { - case language::input::LANG_SMTLIB: - parser = new Smt(d_exprManager, input, d_strictMode, d_parseOnly); + case language::input::LANG_SMTLIB_V1: + parser = new Smt1(d_exprManager, input, d_strictMode, d_parseOnly); break; case language::input::LANG_SMTLIB_V2: parser = new Smt2(d_exprManager, input, d_strictMode, d_parseOnly); |