Changes in src/AST/Print.cpp [3b0bc16:451d958]
- File:
-
- 1 edited
-
src/AST/Print.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r3b0bc16 r451d958 511 511 ++indent; 512 512 os << indent; 513 safe_print( node->then );514 --indent; 515 516 if ( node->else _!= 0 ) {513 safe_print( node->thenPart ); 514 --indent; 515 516 if ( node->elsePart != 0 ) { 517 517 os << indent << "... else:" << endl; 518 518 ++indent; 519 519 os << indent; 520 node->else _->accept( *this );520 node->elsePart->accept( *this ); 521 521 --indent; 522 522 } // if … … 524 524 } 525 525 526 virtual const ast::Stmt * visit( const ast::While DoStmt * node ) override final {526 virtual const ast::Stmt * visit( const ast::WhileStmt * node ) override final { 527 527 if ( node->isDoWhile ) { os << "Do-"; } 528 528 os << "While on condition:" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.