diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-03-16 11:37:53 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-03-16 11:38:09 -0500 |
commit | 966f38dc17ee316fdb069ec2a427c4f79f1f73b2 (patch) | |
tree | 1a1b60435daffa8b59eea589ef04c26b50f8a724 /src/main/interactive_shell.cpp | |
parent | 594301e6f2893ebe9baba5083ff084933b1e9da9 (diff) |
Parsing support for SMT LIB 2.6. Minor fixes for printing datatypes. Fix for mkGroundTerm for parametric datatypes. Minor change to run_regression to allow regressions to override input language. Minor refactoring to Cvc.g.
Diffstat (limited to 'src/main/interactive_shell.cpp')
-rw-r--r-- | src/main/interactive_shell.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/interactive_shell.cpp b/src/main/interactive_shell.cpp index 334373642..bb2956c44 100644 --- a/src/main/interactive_shell.cpp +++ b/src/main/interactive_shell.cpp @@ -127,6 +127,7 @@ InteractiveShell::InteractiveShell(ExprManager& exprManager, break; case output::LANG_SMTLIB_V2_0: case output::LANG_SMTLIB_V2_5: + case output::LANG_SMTLIB_V2_6: d_historyFilename = string(getenv("HOME")) + "/.cvc4_history_smtlib2"; commandsBegin = smt2_commands; commandsEnd = smt2_commands + sizeof(smt2_commands) / sizeof(*smt2_commands); @@ -332,7 +333,8 @@ restart: goto restart; } catch(ParserException& pe) { if(d_options.getOutputLanguage() == output::LANG_SMTLIB_V2_0 || - d_options.getOutputLanguage() == output::LANG_SMTLIB_V2_5) { + d_options.getOutputLanguage() == output::LANG_SMTLIB_V2_5 || + d_options.getOutputLanguage() == output::LANG_SMTLIB_V2_6) { d_out << "(error \"" << pe << "\")" << endl; } else { d_out << pe << endl; |