Lines Matching refs:token
69 void get_char_constant(struct token *token, unsigned long long *val) in get_char_constant() argument
71 const char *p = token->embedded, *end; in get_char_constant()
73 int type = token_type(token); in get_char_constant()
77 p = token->string->data; in get_char_constant()
78 end = p + token->string->length - 1; in get_char_constant()
87 type < TOKEN_WIDE_CHAR ? bits_in_char : wchar_ctype->bit_size, token->pos); in get_char_constant()
89 warning(token->pos, in get_char_constant()
94 struct token *get_string_constant(struct token *token, struct expression *expr) in get_string_constant() argument
96 struct string *string = token->string; in get_string_constant()
97 struct token *next = token->next, *done = NULL; in get_string_constant()
98 int stringtype = token_type(token); in get_string_constant()
117 while (token != done) { in get_string_constant()
119 const char *p = token->string->data; in get_string_constant()
120 const char *end = p + token->string->length - 1; in get_string_constant()
124 p = parse_escape(p, &v, end, bits, token->pos); in get_string_constant()
129 token = token->next; in get_string_constant()
132 warning(token->pos, "trying to concatenate %d-character string (%d bytes max)", len, MAX_STRING); in get_string_constant()
145 return token; in get_string_constant()