summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-05-19 14:51:19 -0500
committerGitHub <noreply@github.com>2020-05-19 14:51:19 -0500
commit02b88b7665df5a6b1a2bce231d7567efdcc4b20a (patch)
treeceff0419b0d08b551620a1b7ec239ebf0e069823 /src/util
parenteebfe6389321c24329d9b58f699ad67486cc30e0 (diff)
Update enum and option names for sygus languages (#4388)
This ensures sygus is interpreted as sygus version 2; sygus1 must be used to specify sygus version 1. Required for the 1.8 release.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/result.cpp2
-rw-r--r--src/util/sexpr.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/result.cpp b/src/util/result.cpp
index 916e16b4f..01d5b052e 100644
--- a/src/util/result.cpp
+++ b/src/util/result.cpp
@@ -374,7 +374,7 @@ void Result::toStreamTptp(std::ostream& out) const {
void Result::toStream(std::ostream& out, OutputLanguage language) const {
switch (language) {
- case language::output::LANG_SYGUS:
+ case language::output::LANG_SYGUS_V1:
case language::output::LANG_SYGUS_V2: toStreamSmt2(out); break;
case language::output::LANG_TPTP:
toStreamTptp(out);
diff --git a/src/util/sexpr.cpp b/src/util/sexpr.cpp
index b2dcbbc8e..24ec700bc 100644
--- a/src/util/sexpr.cpp
+++ b/src/util/sexpr.cpp
@@ -272,7 +272,7 @@ void SExpr::toStreamRec(std::ostream& out, const SExpr& sexpr,
bool SExpr::languageQuotesKeywords(OutputLanguage language) {
switch (language) {
- case language::output::LANG_SYGUS:
+ case language::output::LANG_SYGUS_V1:
case language::output::LANG_TPTP:
return true;
case language::output::LANG_AST:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback