Re: [genksyms patch 1/4] parser: fix the __attribute__ rule

Sam Ravnborg
2008-07-30T20:42:32Z

On Mon, Jul 21, 2008 at 04:28:24AM +0200, Andreas Gruenbacher wrote:
> Gcc __attribute__ definitions may occur repeatedly, e.g.,
>
> static int foo __attribute__((__used__))
> __attribute__((aligned (16)));
>
> The genksyms parser does not understand this, and generates a syntax error.
> Fix this case.
>
> Signed-off-by: Andreas Gruenbacher <agruen@suse.de>

Can I ask you to update the _shipped files and resend the patch.
I have only bison 2.1 available on my box and
I do not want to downgrade when regenerating the bison files.

To do it just do a:
make clean
make allmodconfig
make GENERATE_PARSER=1 modules

Drop the other _shipped files that are not relevant
(keywords.c and lex.c).

Sam