Changeset 046e04a for src/Parser
- Timestamp:
- Jun 19, 2017, 4:23:46 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6a0d1b1e
- Parents:
- da24468
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/Parser/ParseNode.h ¶
rda24468 r046e04a 415 415 result->location = cur->location; 416 416 * out++ = result; 417 } else { 418 assertf(false, "buildList unknown type"); 417 419 } // if 418 420 } catch( SemanticError &e ) { -
TabularUnified src/Parser/StatementNode.cc ¶
rda24468 r046e04a 175 175 176 176 Statement *build_try( StatementNode *try_stmt, StatementNode *catch_stmt, StatementNode *finally_stmt ) { 177 std::list< Statement * > branches;178 buildMoveList< Statement, StatementNode >( catch_stmt, branches );177 std::list< CatchStmt * > branches; 178 buildMoveList< CatchStmt, StatementNode >( catch_stmt, branches ); 179 179 CompoundStmt *tryBlock = safe_dynamic_cast< CompoundStmt * >(maybeMoveBuild< Statement >(try_stmt)); 180 180 FinallyStmt *finallyBlock = dynamic_cast< FinallyStmt * >(maybeMoveBuild< Statement >(finally_stmt) );
Note: See TracChangeset
for help on using the changeset viewer.