Changes in src/AST/Print.cpp [835d6e8:056bee8]
- File:
-
- 1 edited
-
src/AST/Print.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r835d6e8 r056bee8 739 739 virtual const ast::Stmt * visit( const ast::SuspendStmt * node ) override final { 740 740 os << "Suspend Statement"; 741 switch (node-> kind) {742 case ast::SuspendStmt::None : os << " with implicit target"; break;743 case ast::SuspendStmt::Generator: os << " for generator"; break;744 case ast::SuspendStmt::Coroutine: os << " for coroutine"; break;741 switch (node->type) { 742 case ast::SuspendStmt::None : os << " with implicit target"; break; 743 case ast::SuspendStmt::Generator: os << " for generator"; break; 744 case ast::SuspendStmt::Coroutine: os << " for coroutine"; break; 745 745 } 746 746 os << endl;
Note:
See TracChangeset
for help on using the changeset viewer.