summaryrefslogtreecommitdiff
path: root/src/printer/printer.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-11-15 16:48:26 -0600
committerGitHub <noreply@github.com>2017-11-15 16:48:26 -0600
commit9bff14c12c34fea0e6ba0649a3e8f7e8f48b5646 (patch)
treeea7c7ccd91be5ea728e798d8ec8df4b2fec78820 /src/printer/printer.cpp
parent39ec2fb797623bd1556f81b963ace1997c74e920 (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.cpp7
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) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback