cpplib: token types

Zack Weinberg zack@wolery.cumb.org
Sat Apr 22 09:57:00 GMT 2000


On Sat, Apr 22, 2000 at 04:04:29PM +0900, Neil Booth wrote:
> This patch reorders the token types strategically, and defines a
> couple of new ones.  Again, nothing is using this code yet.

I don't have a problem with the reordering per se, but could you
explain in a bit more detail.  I see you're trying to get sensible
tables, but what's the target? cppexp.c? the lexer?

Also, what are the N and H macros for?

> Zack - I'm not sure if you want CPP_MACRO_ARG or CPP_STRINGIZE there
> yet.  If you don't I can take them out.

MACRO_ARG is fine.  What does STRINGIZE give you that HASH doesn't?

zw


More information about the Gcc-patches mailing list