diff options
Diffstat (limited to 'src/printer/ast/ast_printer.cpp')
-rw-r--r-- | src/printer/ast/ast_printer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/printer/ast/ast_printer.cpp b/src/printer/ast/ast_printer.cpp index 479c26aaf..48f773c54 100644 --- a/src/printer/ast/ast_printer.cpp +++ b/src/printer/ast/ast_printer.cpp @@ -288,7 +288,10 @@ static void toStream(std::ostream& out, const SimplifyCommand* c) throw() { } static void toStream(std::ostream& out, const GetValueCommand* c) throw() { - out << "GetValue( << " << c->getTerm() << " >> )"; + out << "GetValue( << "; + const vector<Expr>& terms = c->getTerms(); + copy(terms.begin(), terms.end(), ostream_iterator<Expr>(out, ", ")); + out << " >> )"; } static void toStream(std::ostream& out, const GetAssignmentCommand* c) throw() { |