diff options
author | Andres Notzli <andres.noetzli@gmail.com> | 2016-12-14 11:33:08 -0800 |
---|---|---|
committer | Andres Notzli <andres.noetzli@gmail.com> | 2016-12-14 12:41:27 -0800 |
commit | dec7bfc3219d77be61d298dfd8877afdaa62473c (patch) | |
tree | d5f7176021e7dfab1445e4c83cb14bd19fcf8b7a /src | |
parent | a33002181a581f28da66cbc2c93626996a1fb1aa (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/driver_unified.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |