Changes in / [38e266c:8a930c03]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r38e266c r8a930c03  
    26942694                        $$ = DeclarationNode::newEnum( nullptr, $7, true, true, $3 )->addQualifiers( $5 );
    26952695                }
    2696         | ENUM '(' ')' attribute_list_opt '{' enumerator_list comma_opt '}'
    2697                 {
    2698                         $$ = DeclarationNode::newEnum( nullptr, $6, true, true )->addQualifiers( $4 );
    2699                 }
    27002696        | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt
    27012697                {
     
    27092705                        $$ = DeclarationNode::newEnum( $6, $11, true, true, $3, $9 )->addQualifiers( $5 )->addQualifiers( $7 );
    27102706                }
    2711         | ENUM '(' ')' attribute_list_opt identifier attribute_list_opt
    2712           hide_opt '{' enumerator_list comma_opt '}'
    2713                 {
    2714                         $$ = DeclarationNode::newEnum( $5, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 );
    2715                 }
    27162707        | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt typedef_name attribute_list_opt
    27172708          hide_opt '{' enumerator_list comma_opt '}'
    27182709                {
    27192710                        $$ = DeclarationNode::newEnum( $6->name, $10, true, true, $3, $8 )->addQualifiers( $5 )->addQualifiers( $7 );
    2720                 }
    2721         | ENUM '(' ')' attribute_list_opt typedef_name attribute_list_opt
    2722           hide_opt '{' enumerator_list comma_opt '}'
    2723                 {
    2724                         $$ = DeclarationNode::newEnum( $5->name, $9, true, true, nullptr, $7 )->addQualifiers( $4 )->addQualifiers( $6 );
    27252711                }
    27262712        | enum_type_nobody
     
    28352821
    28362822cfa_abstract_parameter_declaration:                                             // CFA, new & old style parameter declaration
    2837         abstract_parameter_declaration
     2823        // empty
     2824                { $$ = nullptr; }
     2825        | abstract_parameter_declaration
    28382826        | cfa_identifier_parameter_declarator_no_tuple
    28392827        | cfa_abstract_tuple
Note: See TracChangeset for help on using the changeset viewer.