Changes in / [e6d8d11:6e4c44d]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    re6d8d11 r6e4c44d  
    26792679                        $$ = DeclarationNode::newEnum( nullptr, $7, true, true, $3 )->addQualifiers( $5 );
    26802680                }
    2681         | ENUM '(' ')' attribute_list_opt '{' enumerator_list comma_opt '}'
    2682                 {
    2683                         $$ = DeclarationNode::newEnum( nullptr, $6, true, true )->addQualifiers( $4 );
    2684                 }
    26852681        | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt
    26862682                {
     
    26922688                        $$ = DeclarationNode::newEnum( $6, $11, true, true, $3, $9 )->addQualifiers( $5 )->addQualifiers( $7 );
    26932689                }
    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                 }
    26992690        | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt typedef_name attribute_list_opt
    27002691          hide_opt '{' enumerator_list comma_opt '}'
    27012692                {
    27022693                        $$ = 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 );
    27082694                }
    27092695        | enum_type_nobody
     
    28182804
    28192805cfa_abstract_parameter_declaration:                                             // CFA, new & old style parameter declaration
    2820         abstract_parameter_declaration
     2806        // empty
     2807                { $$ = nullptr; }
     2808        | abstract_parameter_declaration
    28212809        | cfa_identifier_parameter_declarator_no_tuple
    28222810        | cfa_abstract_tuple
Note: See TracChangeset for help on using the changeset viewer.