Changes in / [6c15d66:2b78949]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r6c15d66 r2b78949 2687 2687 $$ = DeclarationNode::newEnum( nullptr, $7, true, true, $3 )->addQualifiers( $5 ); 2688 2688 } 2689 | ENUM '(' ')' attribute_list_opt '{' enumerator_list comma_opt '}'2690 {2691 $$ = DeclarationNode::newEnum( nullptr, $6, true, true )->addQualifiers( $4 );2692 }2693 2689 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt 2694 2690 { … … 2700 2696 $$ = DeclarationNode::newEnum( $6, $11, true, true, $3, $9 )->addQualifiers( $5 )->addQualifiers( $7 ); 2701 2697 } 2702 | ENUM '(' ')' attribute_list_opt identifier attribute_list_opt2703 hide_opt '{' enumerator_list comma_opt '}'2704 {2705 $$ = DeclarationNode::newEnum( $5, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 );2706 }2707 2698 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt typedef_name attribute_list_opt 2708 2699 hide_opt '{' enumerator_list comma_opt '}' 2709 2700 { 2710 2701 $$ = DeclarationNode::newEnum( $6->name, $10, true, true, $3, $8 )->addQualifiers( $5 )->addQualifiers( $7 ); 2711 }2712 | ENUM '(' ')' attribute_list_opt typedef_name attribute_list_opt2713 hide_opt '{' enumerator_list comma_opt '}'2714 {2715 $$ = DeclarationNode::newEnum( $5->name, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 );2716 2702 } 2717 2703 | enum_type_nobody … … 2826 2812 2827 2813 cfa_abstract_parameter_declaration: // CFA, new & old style parameter declaration 2828 abstract_parameter_declaration 2814 // empty 2815 { $$ = nullptr; } 2816 | abstract_parameter_declaration 2829 2817 | cfa_identifier_parameter_declarator_no_tuple 2830 2818 | cfa_abstract_tuple
Note: See TracChangeset
for help on using the changeset viewer.