mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
This commit is contained in:
parent
60a25053c6
commit
202ed79a24
3 changed files with 8 additions and 7 deletions
|
@ -185,8 +185,10 @@ void sexpr::display_atom(std::ostream & out) const {
|
|||
}
|
||||
|
||||
void sexpr::display(std::ostream & out) const {
|
||||
if (!is_composite())
|
||||
if (!is_composite()) {
|
||||
display_atom(out);
|
||||
return;
|
||||
}
|
||||
vector<std::pair<sexpr_composite const *, unsigned> > todo;
|
||||
todo.push_back(std::make_pair(static_cast<sexpr_composite const *>(this), 0));
|
||||
while (!todo.empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue