mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Allow normal declarations within a class implementation.
I had always been under the assumption that such was illegal in Objective-C, but after working on Forge, I now know otherwise.
This commit is contained in:
parent
dc5bafb8fb
commit
4c69a97ac7
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ storage_class_t current_storage = st_global;
|
|||
|
||||
defs
|
||||
: /* empty */
|
||||
| defs {if (current_class) PARSE_ERROR;} def
|
||||
| defs def
|
||||
| defs obj_def
|
||||
| error END { current_class = 0; yyerrok; }
|
||||
| error ';' { yyerrok; }
|
||||
|
|
Loading…
Reference in a new issue