From 91a5055015a97935d19b3dbf18062e189268a1f9 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Fri, 6 Sep 2019 15:28:07 -0700 Subject: 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. --- examples/translator.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'examples/translator.cpp') 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; -- cgit v1.2.3