diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-11-15 16:48:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 16:48:26 -0600 |
commit | 9bff14c12c34fea0e6ba0649a3e8f7e8f48b5646 (patch) | |
tree | ea7c7ccd91be5ea728e798d8ec8df4b2fec78820 /src/printer/printer.cpp | |
parent | 39ec2fb797623bd1556f81b963ace1997c74e920 (diff) |
Sygus print callbacks (#1348)
* Initial infrastructure for sygus printing.
* Minor
* Minor improvements
* Format
* Minor
* Empty constructor printer.
* Format
* Minor
* Format
* Address.
Diffstat (limited to 'src/printer/printer.cpp')
-rw-r--r-- | src/printer/printer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/printer/printer.cpp b/src/printer/printer.cpp index fd7a4ee19..e50b1970f 100644 --- a/src/printer/printer.cpp +++ b/src/printer/printer.cpp @@ -70,7 +70,12 @@ Printer* Printer::makePrinter(OutputLanguage lang) throw() { } }/* Printer::makePrinter() */ - +void Printer::toStreamSygus(std::ostream& out, TNode n) const throw() +{ + // no sygus-specific printing associated with this printer, + // just print the original term + toStream(out, n, -1, false, 1); +} void Printer::toStream(std::ostream& out, const Model& m) const throw() { for(size_t i = 0; i < m.getNumCommands(); ++i) { |