Changes in / [6e4c44d:e6d8d11]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r6e4c44d re6d8d11 2679 2679 $$ = DeclarationNode::newEnum( nullptr, $7, true, true, $3 )->addQualifiers( $5 ); 2680 2680 } 2681 | ENUM '(' ')' attribute_list_opt '{' enumerator_list comma_opt '}' 2682 { 2683 $$ = DeclarationNode::newEnum( nullptr, $6, true, true )->addQualifiers( $4 ); 2684 } 2681 2685 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt 2682 2686 { … … 2688 2692 $$ = DeclarationNode::newEnum( $6, $11, true, true, $3, $9 )->addQualifiers( $5 )->addQualifiers( $7 ); 2689 2693 } 2694 | ENUM '(' ')' attribute_list_opt identifier attribute_list_opt 2695 hide_opt '{' enumerator_list comma_opt '}' 2696 { 2697 $$ = DeclarationNode::newEnum( $5, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 ); 2698 } 2690 2699 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt typedef_name attribute_list_opt 2691 2700 hide_opt '{' enumerator_list comma_opt '}' 2692 2701 { 2693 2702 $$ = DeclarationNode::newEnum( $6->name, $10, true, true, $3, $8 )->addQualifiers( $5 )->addQualifiers( $7 ); 2703 } 2704 | ENUM '(' ')' attribute_list_opt typedef_name attribute_list_opt 2705 hide_opt '{' enumerator_list comma_opt '}' 2706 { 2707 $$ = DeclarationNode::newEnum( $5->name, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 ); 2694 2708 } 2695 2709 | enum_type_nobody … … 2804 2818 2805 2819 cfa_abstract_parameter_declaration: // CFA, new & old style parameter declaration 2806 // empty 2807 { $$ = nullptr; } 2808 | abstract_parameter_declaration 2820 abstract_parameter_declaration 2809 2821 | cfa_identifier_parameter_declarator_no_tuple 2810 2822 | cfa_abstract_tuple
Note: See TracChangeset
for help on using the changeset viewer.