Sorry for taking so long to respond to this patch.
I was not aware of the specific rule you mention below, though I did
know about the ## trick, but had hoped to avoid it.
I have merged in your patch, changed things a little bit, and added
support for the ## concatenation. I also added your sample the the
CPP test files I have.
All should be in CVS now.
>>> LSD <lsdsgster@...> seems to think that:
>excuse me bad English,
>when semantic parser the file
>include/c++/x86-linux-gnu/bits/gthr-tpf.h, it message an error
>"Variable binding depth exceeds max-specpdl-size".
>it is because a macro "# define __gthrw_(name) __gthrw_ ## name" in this file.
>c99 standards point out
>must distinguish between "#define amacro" and "#define
>amacro(some_parament)". (in ISO/IED 9899:TC2 6.10.3 it called
>"object-like macro" and "function-like macro")
>So I wrote an ugly patch (ugly because it did not solve the "##")
[ ... ]
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net