mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Can use clearscope on struct to signify that it should be plain data even if defined inside a play/ui class
This commit is contained in:
parent
6c90d05407
commit
86a494aacd
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ struct_def(X) ::= STRUCT(T) IDENTIFIER(A) struct_flags(S) LBRACE opt_struct_body
|
|||
struct_flags(X) ::= . { X.Flags = 0; }
|
||||
struct_flags(X) ::= struct_flags(A) UI. { X.Flags = A.Flags | ZCC_UIFlag; }
|
||||
struct_flags(X) ::= struct_flags(A) PLAY. { X.Flags = A.Flags | ZCC_Play; }
|
||||
struct_flags(X) ::= struct_flags(A) CLEARSCOPE. { X.Flags = A.Flags | ZCC_ClearScope; }
|
||||
struct_flags(X) ::= struct_flags(A) NATIVE. { X.Flags = A.Flags | ZCC_Native; }
|
||||
|
||||
opt_struct_body(X) ::= . { X = NULL; }
|
||||
|
|
Loading…
Reference in a new issue