diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-06-12 16:32:32 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-06-12 16:32:32 +0200 |
commit | 61415ee2c5659893055f71d84a38eab8701dc47a (patch) | |
tree | ca7c2f9c5f0dc846dd91d6f96d569855eeee531e /src/printer/printer.cpp | |
parent | ad0863ae8333c4dcd950153e0db8cd4565a250b3 (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.cpp | 3 |
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(); |