Remove prototype idfs in casts!

This commit is contained in:
ceriel 1994-10-18 13:43:50 +00:00
parent d1e4c3d930
commit 29a640446a

View file

@ -578,7 +578,9 @@ abstract_declarator(register struct declarator *dc;)
/* empty */
]
')'
{add_decl_unary(dc, FUNCTION, 0, (arith)0, NO_PARAMS, pl);}
{add_decl_unary(dc, FUNCTION, 0, (arith)0, NO_PARAMS, pl);
if (pl) remove_proto_idfs(pl);
}
|
arrayer(&count)
{add_decl_unary(dc, ARRAY, 0, count, NO_PARAMS, NO_PROTO);}