Ignore:
Timestamp:
Sep 21, 2023, 10:15:37 PM (10 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
deda7e6
Parents:
01510fe
Message:

Fix designator value in enumerated array and implemented enumerated array with inlined enume declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r01510fe rc1e66d9  
    38553855        | '[' push array_type_list pop ']'                                      // CFA
    38563856                { $$ = DeclarationNode::newArray( $3, nullptr, false ); }
     3857        | '[' push INLINE enum_type_nobody pop']'
     3858                {       
     3859                        $$ = DeclarationNode::newInlineEnumeratedArray( $4, nullptr );
     3860                }
    38573861        | multi_array_dimension
    38583862        ;
Note: See TracChangeset for help on using the changeset viewer.