mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
make @class foo work when foo is already defined
This commit is contained in:
parent
888ff5f571
commit
0f94dd95d2
1 changed files with 2 additions and 2 deletions
|
@ -1011,12 +1011,12 @@ obj_def
|
|||
;
|
||||
|
||||
identifier_list
|
||||
: NAME
|
||||
: maybe_class
|
||||
{
|
||||
$$ = new_block_expr ();
|
||||
append_expr ($$, new_name_expr ($1));
|
||||
}
|
||||
| identifier_list ',' NAME
|
||||
| identifier_list ',' maybe_class
|
||||
{
|
||||
append_expr ($1, new_name_expr ($3));
|
||||
$$ = $1;
|
||||
|
|
Loading…
Reference in a new issue