Lines Matching refs:token
62 struct token *ifndef;
63 struct token *top_if;
186 struct token { struct
188 struct token *next; argument
202 static inline struct token *containing_token(struct token **p) in containing_token() argument
204 void *addr = (char *)p - ((char *)&((struct token *)0)->next - (char *)0); in containing_token()
215 extern struct token eof_token_entry;
223 extern struct token *built_in_token(int, struct ident *);
227 extern const char *show_token(const struct token *);
228 extern const char *quote_token(const struct token *);
229 extern struct token * tokenize(const struct position *pos, const char *, int, struct token *, const…
230 extern struct token * tokenize_buffer(void *, unsigned long, struct token **);
233 extern struct token *preprocess(struct token *);
235 static inline int match_op(struct token *token, unsigned int op) in match_op() argument
237 return token->pos.type == TOKEN_SPECIAL && token->special == op; in match_op()
240 static inline int match_ident(struct token *token, struct ident *id) in match_ident() argument
242 return token->pos.type == TOKEN_IDENT && token->ident == id; in match_ident()
245 static inline int match_token_zero(struct token *token) in match_token_zero() argument
247 if (token_type(token) != TOKEN_NUMBER) in match_token_zero()
249 return token->number[0] == '0' && !token->number[1]; in match_token_zero()