
Hello, I built the Wave preprocessing lib out of CVS head today using GCC 4.2.1 on Linux x86 box (openSUSE 10.3). I then built the lexed_tokens sample and ran it on the attached header file. The unexpected answer was how the 'defined' keyword was treated. I expected it to treat it as T_DEFINED, but it seems to return T_IDENTIFIER as shown by this output fragment: ... PP_IF (#370) at foo.h ( 4/ 1): >#if< SPACE (#393) at foo.h ( 4/ 4): > < IDENTIFIER (#381) at foo.h ( 4/ 5): >defined< SPACE (#393) at foo.h ( 4/12): > < IDENTIFIER (#381) at foo.h ( 4/13): >BAR< NEWLINE (#395) at foo.h ( 4/16): >\n< ... Leo #ifndef FOO_H #define FOO_H #if defined BAR #define BAZ #endif #endif /* FOO_H */