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