Changes in / [2ed94a9:ccb29b4]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r2ed94a9 rccb29b4 2587 2587 $$ = DeclarationNode::newEnum( nullptr, $7, true, true, $3 )->addQualifiers( $5 ); 2588 2588 } 2589 | ENUM '(' ')' attribute_list_opt '{' enumerator_list comma_opt '}' 2590 { 2591 $$ = DeclarationNode::newEnum( nullptr, $6, true, true )->addQualifiers( $4 ); 2592 } 2589 2593 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt 2590 2594 { … … 2596 2600 $$ = DeclarationNode::newEnum( $6, $11, true, true, $3, $9 )->addQualifiers( $5 )->addQualifiers( $7 ); 2597 2601 } 2602 | ENUM '(' ')' attribute_list_opt identifier attribute_list_opt 2603 hide_opt '{' enumerator_list comma_opt '}' 2604 { 2605 $$ = DeclarationNode::newEnum( $5, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 ); 2606 } 2598 2607 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt typedef_name attribute_list_opt 2599 2608 hide_opt '{' enumerator_list comma_opt '}' 2600 2609 { 2601 2610 $$ = DeclarationNode::newEnum( $6->name, $10, true, true, $3, $8 )->addQualifiers( $5 )->addQualifiers( $7 ); 2611 } 2612 | ENUM '(' ')' attribute_list_opt typedef_name attribute_list_opt 2613 hide_opt '{' enumerator_list comma_opt '}' 2614 { 2615 $$ = DeclarationNode::newEnum( $5->name, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 ); 2602 2616 } 2603 2617 | enum_type_nobody … … 2712 2726 2713 2727 cfa_abstract_parameter_declaration: // CFA, new & old style parameter declaration 2714 // empty 2715 { $$ = nullptr; } 2716 | abstract_parameter_declaration 2728 abstract_parameter_declaration 2717 2729 | cfa_identifier_parameter_declarator_no_tuple 2718 2730 | cfa_abstract_tuple
Note:
See TracChangeset
for help on using the changeset viewer.