mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-14 22:41:53 +00:00
Accept constant definitions at global scope
This commit is contained in:
parent
3044fdd0a9
commit
6545c48e07
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ translation_unit(X) ::= error. { X = NULL; }
|
||||||
external_declaration(X) ::= class_definition(A). { X = A; }
|
external_declaration(X) ::= class_definition(A). { X = A; }
|
||||||
external_declaration(X) ::= struct_def(A). { X = A; }
|
external_declaration(X) ::= struct_def(A). { X = A; }
|
||||||
external_declaration(X) ::= enum_def(A). { X = A; }
|
external_declaration(X) ::= enum_def(A). { X = A; }
|
||||||
|
external_declaration(X) ::= const_def(A). { X = A; }
|
||||||
|
|
||||||
/* Optional bits. */
|
/* Optional bits. */
|
||||||
opt_semicolon ::= .
|
opt_semicolon ::= .
|
||||||
|
|
Loading…
Reference in a new issue