summaryrefslogtreecommitdiff
path: root/src/printer/smt2/smt2_printer.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2017-05-25 12:44:35 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2017-05-25 12:44:35 -0500
commit97443967555b0e7fe6be4e6ab03b81383bc90430 (patch)
tree716788d9633b3608dd9d4fcbccb3f086da98e38b /src/printer/smt2/smt2_printer.cpp
parent02b3aba2273232504e76e0c7d49226ef2a27977f (diff)
Quote unsat core names if applicable, fixes bug 816.
Diffstat (limited to 'src/printer/smt2/smt2_printer.cpp')
-rw-r--r--src/printer/smt2/smt2_printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp
index 247ef2431..fd7753511 100644
--- a/src/printer/smt2/smt2_printer.cpp
+++ b/src/printer/smt2/smt2_printer.cpp
@@ -1067,7 +1067,7 @@ void Smt2Printer::toStream(std::ostream& out, const UnsatCore& core, const std::
if(j == names.end()) {
out << *i << endl;
} else {
- out << (*j).second << endl;
+ out << maybeQuoteSymbol((*j).second) << endl;
}
}
out << ")" << endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback