Changes in src/AST/Convert.cpp [835d6e8:e4d7c1c]
- File:
-
- 1 edited
-
src/AST/Convert.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r835d6e8 re4d7c1c 559 559 auto stmt = new SuspendStmt(); 560 560 stmt->then = get<CompoundStmt>().accept1( node->then ); 561 switch (node->kind) {561 switch(node->type) { 562 562 case ast::SuspendStmt::None : stmt->type = SuspendStmt::None ; break; 563 563 case ast::SuspendStmt::Coroutine: stmt->type = SuspendStmt::Coroutine; break; … … 1683 1683 GET_ACCEPT_V(attributes, Attribute), 1684 1684 { old->get_funcSpec().val }, 1685 (old->type->isVarArgs) ? ast::VariableArgs : ast::FixedArgs1685 old->type->isVarArgs 1686 1686 }; 1687 1687 … … 1876 1876 auto&& type = GET_ACCEPT_1(type, Type); 1877 1877 auto&& attr = GET_ACCEPT_V(attributes, Attribute); 1878 1878 1879 1879 auto decl = new ast::InlineMemberDecl( 1880 1880 old->location, … … 1989 1989 GET_ACCEPT_1(else_, Stmt), 1990 1990 GET_ACCEPT_V(initialization, Stmt), 1991 (old->isDoWhile) ? ast::DoWhile : ast::While,1991 old->isDoWhile, 1992 1992 GET_LABELS_V(old->labels) 1993 1993 ); … … 2131 2131 virtual void visit( const SuspendStmt * old ) override final { 2132 2132 if ( inCache( old ) ) return; 2133 ast::SuspendStmt:: Kindtype;2133 ast::SuspendStmt::Type type; 2134 2134 switch (old->type) { 2135 2135 case SuspendStmt::Coroutine: type = ast::SuspendStmt::Coroutine; break;
Note:
See TracChangeset
for help on using the changeset viewer.