diff options
author | Gereon Kremer <nafur42@gmail.com> | 2021-08-25 17:19:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 00:19:41 +0000 |
commit | 71f025753f734ddade5da333dfe2d144fbc13221 (patch) | |
tree | 271e0a03b5612652d5fdb040fa2d7f43e8644aea /src/parser/smt2/smt2.h | |
parent | 78d29da02099762374adeb694ed96c496c7e1ffc (diff) |
Consolidate language types (#7065)
This PR combines the two enums InputLanguage and OutputLanguage into a single Language type. It makes sure that AST is not used as input language using a predicate whenever the option is set.
Diffstat (limited to 'src/parser/smt2/smt2.h')
-rw-r--r-- | src/parser/smt2/smt2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/smt2/smt2.h b/src/parser/smt2/smt2.h index c70a60e99..50b4a4efc 100644 --- a/src/parser/smt2/smt2.h +++ b/src/parser/smt2/smt2.h @@ -230,7 +230,7 @@ class Smt2 : public Parser */ bool v2_6(bool exact = false) const { - return language::isInputLang_smt2_6(getLanguage(), exact); + return language::isLangSmt2(getLanguage()); } /** Are we using a sygus language? */ bool sygus() const; @@ -415,7 +415,7 @@ class Smt2 : public Parser void addSepOperators(); - InputLanguage getLanguage() const; + Language getLanguage() const; /** * Utility function to create a conjunction of expressions. |