- Timestamp:
- Jul 17, 2017, 12:18:36 PM (7 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:
- 17954f0e
- Parents:
- e5f2a67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
re5f2a67 rdc2b4d6 9 9 // Author : Peter A. Buhr 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Jul 15 15:59:50 201713 // Update Count : 245 411 // Last Modified By : Andrew Beach 12 // Last Modified On : Mon Jul 17 12:17:00 2017 13 // Update Count : 2455 14 14 // 15 15 … … 980 980 { $$ = (StatementNode *)$1->set_last( new StatementNode( build_catch( $2, nullptr, new ExpressionNode( build_constantInteger( *$6 ) ), $9 ) ) ); } 981 981 982 | handler_key '(' push push exception_declaration handler_predicate_opt pop')' compound_statement pop982 | handler_key '(' push push exception_declaration pop handler_predicate_opt ')' compound_statement pop 983 983 { $$ = new StatementNode( build_catch( $1, $5, nullptr, $9 ) ); } 984 | handler_clause handler_key '(' push push exception_declaration handler_predicate_opt pop')' compound_statement pop984 | handler_clause handler_key '(' push push exception_declaration pop handler_predicate_opt ')' compound_statement pop 985 985 { $$ = (StatementNode *)$1->set_last( new StatementNode( build_catch( $2, $6, nullptr, $10 ) ) ); } 986 986 ; … … 988 988 handler_predicate_opt: 989 989 //empty 990 | ' :' conditional_expression990 | ';' conditional_expression 991 991 ; 992 992
Note: See TracChangeset
for help on using the changeset viewer.