|
From: <se...@in...> - 2005-12-12 19:06:07
|
On Mon, 2005-12-12 at 12:06 -0500, Stefan Seefeld wrote:
> Gilles J. Seguin wrote:
> > On Sun, 2005-12-11 at 12:54 -0800, Claudio Levinas wrote:
> >
> >>Lex.cc does indeed skip the keyword, only that it was set to skip "__ASM__".
> >>I simply added "__ASM" and it did the job.
> >>
> >>#if (defined __GNUC__) || (defined _GNUC_SYNTAX)
> >> { "__alignof__", token(SIZEOF) },
> >
> >
> > i need an #ifdef SOMETHING
> >
> >>+ { "__asm", token(ATTRIBUTE) },
> >
> > #endif
> >
> > do we have a standard one
>
> FWIW, I added '__asm' to synopsis' lexer keywords unconditionally a long time
> ago without ever running into trouble. I think this is a fairly safe thing to
> do, as user code never should use names starting with double underscores, so
> there is no or little danger for name clashes.
>
> Regards,
> Stefan
have commit on branch rel_2_8
new revision: 1.2.2.5;
thanks to Claudio Levinas for the patch
|