Allow TYPE_NAME or IDENTIFIER to follow struct/union
This commit is contained in:
parent
aa6ef6b8d6
commit
fa32c9bba6
@ -354,9 +354,14 @@ type_specifier
|
|||||||
;
|
;
|
||||||
|
|
||||||
struct_or_union_specifier
|
struct_or_union_specifier
|
||||||
: struct_or_union IDENTIFIER LCURLY struct_declaration_list RCURLY
|
: struct_or_union identifier_or_type_name LCURLY struct_declaration_list RCURLY
|
||||||
| struct_or_union LCURLY struct_declaration_list RCURLY
|
| struct_or_union LCURLY struct_declaration_list RCURLY
|
||||||
| struct_or_union IDENTIFIER
|
| struct_or_union identifier_or_type_name
|
||||||
|
;
|
||||||
|
|
||||||
|
identifier_or_type_name
|
||||||
|
: IDENTIFIER
|
||||||
|
| TYPE_NAME
|
||||||
;
|
;
|
||||||
|
|
||||||
struct_or_union
|
struct_or_union
|
||||||
|
Loading…
x
Reference in New Issue
Block a user