summaryrefslogtreecommitdiff
path: root/src/parser/smt2/smt2.h
diff options
context:
space:
mode:
authorGereon Kremer <nafur42@gmail.com>2021-08-27 11:23:15 -0700
committerGitHub <noreply@github.com>2021-08-27 18:23:15 +0000
commit3183ca6685f6b0dcca538efb72e6840a56479b60 (patch)
treee6c51d6175d4a56c7849aa4f965ed49b743f0607 /src/parser/smt2/smt2.h
parenta698b522d619c800a3401c7294cf1c6c663d7acc (diff)
Handle languages as strings in driver (#7074)
This PR moves the first chunk of code in the driver to use the proper options API for the language options. It is now handled as a string.
Diffstat (limited to 'src/parser/smt2/smt2.h')
-rw-r--r--src/parser/smt2/smt2.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parser/smt2/smt2.h b/src/parser/smt2/smt2.h
index 50b4a4efc..c3f93708d 100644
--- a/src/parser/smt2/smt2.h
+++ b/src/parser/smt2/smt2.h
@@ -230,12 +230,10 @@ class Smt2 : public Parser
*/
bool v2_6(bool exact = false) const
{
- return language::isLangSmt2(getLanguage());
+ return d_solver->getOption("input-language") == "LANG_SMTLIB_V2_6";
}
/** Are we using a sygus language? */
bool sygus() const;
- /** Are we using the sygus version 2.0 format? */
- bool sygus_v2() const;
/**
* Returns true if the language that we are parsing (SMT-LIB version >=2.5
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback