mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 16:07:45 +00:00
- support static const arrays inside structs
https://forum.zdoom.org/viewtopic.php?t=61677
This commit is contained in:
parent
20b6db30d7
commit
d965c9aa76
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ struct_body(X) ::= struct_body(A) struct_member(B). { X = A; /*X-overwrites-A*/
|
||||||
struct_member(X) ::= declarator(A). { X = A; /*X-overwrites-A*/ }
|
struct_member(X) ::= declarator(A). { X = A; /*X-overwrites-A*/ }
|
||||||
struct_member(X) ::= enum_def(A). { X = A; /*X-overwrites-A*/ }
|
struct_member(X) ::= enum_def(A). { X = A; /*X-overwrites-A*/ }
|
||||||
struct_member(X) ::= const_def(A). { X = A; /*X-overwrites-A*/ }
|
struct_member(X) ::= const_def(A). { X = A; /*X-overwrites-A*/ }
|
||||||
|
struct_member(X) ::= staticarray_statement(A). { X = A; /*X-overwrites-A*/ }
|
||||||
|
|
||||||
/*----- Constant Definition ------*/
|
/*----- Constant Definition ------*/
|
||||||
/* Like UnrealScript, a constant's type is implied by its value's type. */
|
/* Like UnrealScript, a constant's type is implied by its value's type. */
|
||||||
|
|
Loading…
Reference in a new issue