|
From: Claudio L. <c_l...@ho...> - 2005-12-12 18:28:26
|
>i need an #ifdef SOMETHING
> > + { "__asm", token(ATTRIBUTE) },
>#endif
>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
Please note that the "__asm" token might be inhibiting the "__asm__" token.
At least on the mac, the order of these two tokens does seem to be
important. When I tried switching the them around, as shown below, the fix
didn't work.
{ "__asm__", token(ATTRIBUTE) },
+ { "__asm", token(ATTRIBUTE) },
Claudio.
|