3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-07 15:55:46 +00:00

have solver pretty print declarations, include also datatype declarations

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-08-07 08:48:24 +02:00
parent a3c43c34fb
commit 7f517c625f
4 changed files with 78 additions and 44 deletions

View file

@ -913,9 +913,9 @@ public:
m_out << "(";
}
m_out << m_renaming.get_symbol(f->get_name());
// if (accs.size() > 0) {
if (!accs.empty() || !m_is_smt2) {
m_out << " ";
// }
}
for (unsigned j = 0; j < accs.size(); ++j) {
func_decl* a = accs[j];
m_out << "(" << m_renaming.get_symbol(a->get_name()) << " ";