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