mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Parse const array elements properly
This commit is contained in:
parent
74c8aa95f5
commit
0f3ffa267a
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ const_array
|
|||
prim_expr
|
||||
: nonident_prim_expr
|
||||
| identifier_prim { $$ = node2(ENUM_string, $1, TOKPOS(@1)); }
|
||||
| prim_expr TOKEN_DOUBLE_COLON const_array_list { $$ = node3(ENUM_const_array_expr, $1, $3, TOKPOS(@2)); }
|
||||
| const_array TOKEN_DOUBLE_COLON const_array_list { $$ = node3(ENUM_const_array_expr, $1, $3, TOKPOS(@2)); }
|
||||
;
|
||||
|
||||
identifier_prim:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue