Changes in src/AST/Pass.impl.hpp [3b0bc16:ab1a9ea]
- File:
-
- 1 edited
-
src/AST/Pass.impl.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
r3b0bc16 rab1a9ea 756 756 maybe_accept( node, &IfStmt::inits ); 757 757 maybe_accept( node, &IfStmt::cond ); 758 maybe_accept_as_compound( node, &IfStmt::then );759 maybe_accept_as_compound( node, &IfStmt::else _);758 maybe_accept_as_compound( node, &IfStmt::thenPart ); 759 maybe_accept_as_compound( node, &IfStmt::elsePart ); 760 760 } 761 761 … … 764 764 765 765 //-------------------------------------------------------------------------- 766 // While DoStmt767 template< typename core_t > 768 const ast::Stmt * ast::Pass< core_t >::visit( const ast::While DoStmt * node ) {766 // WhileStmt 767 template< typename core_t > 768 const ast::Stmt * ast::Pass< core_t >::visit( const ast::WhileStmt * node ) { 769 769 VISIT_START( node ); 770 770 … … 772 772 // while statements introduce a level of scope (for the initialization) 773 773 guard_symtab guard { *this }; 774 maybe_accept( node, &While DoStmt::inits );775 maybe_accept( node, &While DoStmt::cond );776 maybe_accept_as_compound( node, &While DoStmt::body );774 maybe_accept( node, &WhileStmt::inits ); 775 maybe_accept( node, &WhileStmt::cond ); 776 maybe_accept_as_compound( node, &WhileStmt::body ); 777 777 } 778 778
Note:
See TracChangeset
for help on using the changeset viewer.