make @class foo work when foo is already defined

This commit is contained in:
Bill Currie 2004-02-03 07:29:20 +00:00
parent 888ff5f571
commit 0f94dd95d2
1 changed files with 2 additions and 2 deletions

View File

@ -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;