Ignore:
Timestamp:
Apr 8, 2024, 11:57:37 AM (21 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
485cf59, dd37afa
Parents:
d3a49864 (diff), d9bad51 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rd3a49864 rcb98d9d  
    28152815                { $$ = DeclarationNode::newEnumValueGeneric( $2, $3 ); }
    28162816        | INLINE type_name
    2817                 { $$ = DeclarationNode::newEnumInLine( *$2->symbolic.name ); }
     2817                {
     2818                        $$ = DeclarationNode::newEnumInLine( $2->symbolic.name );
     2819                        $2->symbolic.name = nullptr;
     2820                        delete $2;
     2821                }
    28182822        | enumerator_list ',' visible_hide_opt identifier_or_type_name enumerator_value_opt
    28192823                { $$ = $1->set_last( DeclarationNode::newEnumValueGeneric( $4, $5 ) ); }
Note: See TracChangeset for help on using the changeset viewer.