Do not strip the 0x prefix from the textual representation of hexadecimal constants.
[cparser] / tokens_preprocessor.inc
index cad600b..f5bfe3e 100644 (file)
@@ -2,15 +2,13 @@
 #define TS(x,str,val)
 #endif
 
-TS(HEADERNAME,              "header name", = 256)
-TS(IDENTIFIER,              "identifier",)
+TS(IDENTIFIER,              "identifier", = 256)
 TS(NUMBER,                  "number",)
 TS(CHARACTER_CONSTANT,      "character constant",)
 TS(WIDE_CHARACTER_CONSTANT, "character constant",)
 TS(STRING_LITERAL,          "string literal",)
 TS(WIDE_STRING_LITERAL,     "wide string literal",)
 TS(PUNCTUATOR,              "punctuator",)
-TS(NEWLINE,                 "newline", = '\n')
 
 #define ALTERNATE(name, val)          T(_CXX, name, #name,  val)
 #define PUNCTUATOR(name, string, val) T(_ALL, name, string, val)