From: Andres Notzli Date: Wed, 14 Dec 2016 19:33:08 +0000 (-0800) Subject: Switch from SMT-LIB v2.0 to v2.5 for smt2 files X-Git-Tag: cvc5-1.0.0~5938^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dec7bfc3219d77be61d298dfd8877afdaa62473c;p=cvc5.git Switch from SMT-LIB v2.0 to v2.5 for smt2 files As mentioned in bug 741, CVC4 was parsing `.smt2` files using the SMT-LIB v2.0 standard by default. This commit switches to v2.5. --- diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp index 1da4446a6..efa4f5bd2 100644 --- a/src/main/driver_unified.cpp +++ b/src/main/driver_unified.cpp @@ -155,7 +155,7 @@ int runCvc4(int argc, char* argv[], Options& opts) { } else { unsigned len = strlen(filename); if(len >= 5 && !strcmp(".smt2", filename + len - 5)) { - opts.setInputLanguage(language::input::LANG_SMTLIB_V2_0); + opts.setInputLanguage(language::input::LANG_SMTLIB_V2_5); } else if(len >= 4 && !strcmp(".smt", filename + len - 4)) { opts.setInputLanguage(language::input::LANG_SMTLIB_V1); } else if(len >= 5 && !strcmp(".smt1", filename + len - 5)) {