diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2019-09-06 15:28:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-06 15:28:07 -0700 |
commit | 91a5055015a97935d19b3dbf18062e189268a1f9 (patch) | |
tree | fb1fd19d80fb89d71286b462927540c0648d7551 /src/options/language.cpp | |
parent | 7fc142a10140bba5a732237e3adf8fe6729d90e7 (diff) |
Remove SMT1 parser. (#3228)
This commit removes the SMT1 parser infrastructure and adds the SMT2 translations of the SMT1 regression tests. For now this commit removes regression test regress3/pp-regfile.smt since the SMT2 translation has a file size of 887M (vs. 172K for the SMT1 version).
Fixes #2948 and fixes #1313.
Diffstat (limited to 'src/options/language.cpp')
-rw-r--r-- | src/options/language.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/options/language.cpp b/src/options/language.cpp index 0bd1e144a..0f2c513b6 100644 --- a/src/options/language.cpp +++ b/src/options/language.cpp @@ -70,7 +70,6 @@ bool isOutputLang_smt2_6(OutputLanguage lang, bool exact) InputLanguage toInputLanguage(OutputLanguage language) { switch(language) { - case output::LANG_SMTLIB_V1: case output::LANG_SMTLIB_V2_0: case output::LANG_SMTLIB_V2_5: case output::LANG_SMTLIB_V2_6: @@ -94,8 +93,6 @@ InputLanguage toInputLanguage(OutputLanguage language) { OutputLanguage toOutputLanguage(InputLanguage language) { switch(language) { - case input::LANG_SMTLIB_V1: - return OutputLanguage(output::LANG_SMTLIB_V2_0); case input::LANG_SMTLIB_V2_0: case input::LANG_SMTLIB_V2_5: case input::LANG_SMTLIB_V2_6: @@ -179,9 +176,6 @@ InputLanguage toInputLanguage(std::string language) { language == "presentation" || language == "native" || language == "LANG_CVC4") { return input::LANG_CVC4; - } else if(language == "smtlib1" || language == "smt1" || - language == "LANG_SMTLIB_V1") { - return input::LANG_SMTLIB_V1; } else if(language == "smtlib2.0" || language == "smt2.0" || language == "LANG_SMTLIB_V2_0") { return input::LANG_SMTLIB_V2_0; |