Leave applying attributes until we know whether it's a nested declarator
commitc03ff1cdb266a8ab53212c6b4456483826c6136a
authorAl Viro <viro@ftp.linux.org.uk>
Mon, 9 Mar 2009 07:10:17 +0000 (9 07:10 +0000)
committerChristopher Li <sparse@chrisli.org>
Fri, 17 Jul 2009 23:06:23 +0000 (17 23:06 +0000)
treee8ca00be5c7ed00f03fc39694c10e2633a6e3cbb
parent53c5c08934ef0f082fd1ec069e9d179b005fe2df
Leave applying attributes until we know whether it's a nested declarator

Don't mess with applying attributes in which_kind(); leave that until
we know whether that's function declarator or a nested one.  We'll need
that to deal with scopes properly.  Clean parameter_type_list() and
parameter_declaration(), get rid of a leak.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christopher Li <sparse@chrisli.org>
parse.c