3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-28 08:58:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-10-22 12:01:40 -07:00
parent c9900720f8
commit a083633ab4
3 changed files with 20 additions and 5 deletions

View file

@ -41,9 +41,9 @@ void ast_pp_util::display_decls(std::ostream& out) {
bool first = m_num_decls == 0;
coll.order_deps(m_num_sorts);
unsigned n = coll.get_num_sorts();
for (unsigned i = m_num_sorts; i < n; ++i) {
pp.display_ast_smt2(out, coll.get_sorts()[i], 0, 0, nullptr);
}
ast_mark seen;
for (unsigned i = m_num_sorts; i < n; ++i)
pp.display_sort_decl(out, coll.get_sorts()[i], seen);
m_num_sorts = n;
n = coll.get_num_decls();
for (unsigned i = m_num_decls; i < n; ++i) {