Changeset e04ef3a for src/Parser/parser.yy
- Timestamp:
- Jun 14, 2016, 12:53:03 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- c8c03683
- Parents:
- 55ba7339
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r55ba7339 re04ef3a 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jun 7 08:08:31201613 // Update Count : 15 6012 // Last Modified On : Mon Jun 13 15:00:23 2016 13 // Update Count : 1578 14 14 // 15 15 … … 430 430 { $$ = $1; } 431 431 | EXTENSION cast_expression // GCC 432 { $$ = $2 ; }432 { $$ = $2->set_extension( true ); } 433 433 | ptrref_operator cast_expression // CFA 434 434 { $$ = new CompositeExprNode( $1, $2 ); } … … 683 683 { $$ = new StatementNode( $1 ); } 684 684 | EXTENSION declaration // GCC 685 { $$ = new StatementNode( $2 ) ; }685 { $$ = new StatementNode( $2 )/*->set_extension( true )*/; } 686 686 | function_definition 687 687 { $$ = new StatementNode( $1 ); } … … 1473 1473 new_field_declaring_list ';' // CFA, new style field declaration 1474 1474 | EXTENSION new_field_declaring_list ';' // GCC 1475 { $$ = $2 ; }1475 { $$ = $2/*->set_extension( true )*/; } 1476 1476 | field_declaring_list ';' 1477 1477 | EXTENSION field_declaring_list ';' // GCC 1478 { $$ = $2 ; }1478 { $$ = $2/*->set_extension( true )*/; } 1479 1479 ; 1480 1480 … … 1992 1992 } 1993 1993 | EXTENSION external_definition 1994 { $$ = $2 ; }1994 { $$ = $2/*->set_extension( true )*/; } 1995 1995 ; 1996 1996
Note: See TracChangeset
for help on using the changeset viewer.