- Timestamp:
- Jul 16, 2024, 10:35:29 PM (18 months ago)
- Branches:
- master
- Children:
- 0097d08
- Parents:
- 68ea8d2 (diff), 88bc876 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/AST/Print.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r68ea8d2 r97f9619 566 566 ++indent; 567 567 safe_print( node->cond ); 568 os << indent-1 << "... with body:" << endl;569 safe_print( node->body );570 568 571 569 if ( ! node->inits.empty() ) { … … 573 571 printAll( node->inits ); 574 572 } 573 574 os << indent-1 << "... with body:" << endl; 575 safe_print( node->body ); 576 577 if ( node->else_ ) { 578 os << indent-1 << "... with else:" << endl; 579 os << indent; 580 node->else_->accept( *this ); 581 } 582 575 583 --indent; 576 584 … … 614 622 --indent; 615 623 } 624 625 if ( node->else_ ) { 626 os << indent << "... with else:" << endl; 627 ++indent; 628 os << indent; 629 node->else_->accept( *this ); 630 --indent; 631 } 632 616 633 os << endl; 617 634 print( node->labels );
Note:
See TracChangeset
for help on using the changeset viewer.