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 /examples/translator.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 'examples/translator.cpp')
-rw-r--r-- | examples/translator.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/translator.cpp b/examples/translator.cpp index 82a206d4b..b8b8fde38 100644 --- a/examples/translator.cpp +++ b/examples/translator.cpp @@ -82,10 +82,6 @@ static void readFile(const char* filename, InputLanguage fromLang, OutputLanguag unsigned len = strlen(filename); if(len >= 5 && !strcmp(".smt2", filename + len - 5)) { fromLang = language::input::LANG_SMTLIB_V2; - } else if(len >= 4 && !strcmp(".smt", filename + len - 4)) { - fromLang = language::input::LANG_SMTLIB_V1; - } else if(len >= 5 && !strcmp(".smt1", filename + len - 5)) { - fromLang = language::input::LANG_SMTLIB_V1; } else if((len >= 2 && !strcmp(".p", filename + len - 2)) || (len >= 5 && !strcmp(".tptp", filename + len - 5))) { fromLang = language::input::LANG_TPTP; |