Changeset 8d70648 for src/Parser/parser.yy
- Timestamp:
- May 30, 2019, 4:15:08 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a935892, f474e91
- Parents:
- d76c588 (diff), d88f8b3b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rd76c588 r8d70648 1345 1345 1346 1346 handler_clause: 1347 handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement pop1347 handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement 1348 1348 { $$ = new StatementNode( build_catch( $1, $4, $6, $8 ) ); } 1349 | handler_clause handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement pop1349 | handler_clause handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement 1350 1350 { $$ = (StatementNode *)$1->set_last( new StatementNode( build_catch( $2, $5, $7, $9 ) ) ); } 1351 1351 ;
Note:
See TracChangeset
for help on using the changeset viewer.