Changes in / [9f1beb4:f11010e]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r9f1beb4 rf11010e  
    26872687                        $$ = DeclarationNode::newEnum( nullptr, $7, true, true, $3 )->addQualifiers( $5 );
    26882688                }
    2689         | ENUM '(' ')' attribute_list_opt '{' enumerator_list comma_opt '}'
    2690                 {
    2691                         $$ = DeclarationNode::newEnum( nullptr, $6, true, true )->addQualifiers( $4 );
    2692                 }
    26932689        | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt
    26942690                {
     
    27002696                        $$ = DeclarationNode::newEnum( $6, $11, true, true, $3, $9 )->addQualifiers( $5 )->addQualifiers( $7 );
    27012697                }
    2702         | ENUM '(' ')' attribute_list_opt identifier attribute_list_opt
    2703           hide_opt '{' enumerator_list comma_opt '}'
    2704                 {
    2705                         $$ = DeclarationNode::newEnum( $5, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 );
    2706                 }
    27072698        | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt typedef_name attribute_list_opt
    27082699          hide_opt '{' enumerator_list comma_opt '}'
    27092700                {
    27102701                        $$ = DeclarationNode::newEnum( $6->name, $10, true, true, $3, $8 )->addQualifiers( $5 )->addQualifiers( $7 );
    2711                 }
    2712         | ENUM '(' ')' attribute_list_opt typedef_name attribute_list_opt
    2713           hide_opt '{' enumerator_list comma_opt '}'
    2714                 {
    2715                         $$ = DeclarationNode::newEnum( $5->name, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 );
    27162702                }
    27172703        | enum_type_nobody
     
    28262812
    28272813cfa_abstract_parameter_declaration:                                             // CFA, new & old style parameter declaration
    2828         abstract_parameter_declaration
     2814        // empty
     2815                { $$ = nullptr; }
     2816        | abstract_parameter_declaration
    28292817        | cfa_identifier_parameter_declarator_no_tuple
    28302818        | cfa_abstract_tuple
Note: See TracChangeset for help on using the changeset viewer.