summaryrefslogtreecommitdiff
path: root/src/printer/printer.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-06-12 16:32:32 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-06-12 16:32:32 +0200
commit61415ee2c5659893055f71d84a38eab8701dc47a (patch)
treeca7c2f9c5f0dc846dd91d6f96d569855eeee531e /src/printer/printer.cpp
parentad0863ae8333c4dcd950153e0db8cd4565a250b3 (diff)
Make sygus an output language. Parse declare-fun in sygus. Minor improvements to robustness of sygus parsing.
Diffstat (limited to 'src/printer/printer.cpp')
-rw-r--r--src/printer/printer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/printer/printer.cpp b/src/printer/printer.cpp
index a8e2534dc..242638f82 100644
--- a/src/printer/printer.cpp
+++ b/src/printer/printer.cpp
@@ -55,6 +55,9 @@ Printer* Printer::makePrinter(OutputLanguage lang) throw() {
case LANG_Z3STR:
return new printer::smt2::Smt2Printer(printer::smt2::z3str_variant);
+ case LANG_SYGUS:
+ return new printer::smt2::Smt2Printer(printer::smt2::sygus_variant);
+
case LANG_AST:
return new printer::ast::AstPrinter();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback