diff options
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; |