- do {
- obstack_1grow(&symbol_obstack, this->c);
- next_char(this);
- } while(is_ident_char(this->c));
- obstack_1grow(&symbol_obstack, '\0');
-
- char *string = obstack_finish(&symbol_obstack);
- symbol_t *symbol = preprocessor_symbol_table_find(string);
- obstack_free(&symbol_obstack, string);
-
- if(symbol == 0)
- return TP_ERROR;
-
- return symbol->ID;
-}
-#endif
-
-static
-void parse_number_hex(lexer_t *this, token_t *token)
-{
- assert(this->c == 'x' || this->c == 'X');
- next_char(this);
-
- if (!isdigit(this->c) &&
- !('A' <= this->c && this->c <= 'F') &&
- !('a' <= this->c && this->c <= 'f')) {
- parse_error(this, "premature end of hex number literal");
- token->type = T_ERROR;
+ assert(c == 'x' || c == 'X');
+ next_char();
+
+ if (!isdigit(c) &&
+ !('A' <= c && c <= 'F') &&
+ !('a' <= c && c <= 'f')) {
+ parse_error("premature end of hex number literal");
+ lexer_token.type = T_ERROR;