Lines Matching refs:token
61 struct token *ifndef;
62 struct token *top_if;
187 struct token { struct
189 struct token *next; argument
203 static inline struct token *containing_token(struct token **p) in containing_token() argument
205 void *addr = (char *)p - ((char *)&((struct token *)0)->next - (char *)0); in containing_token()
216 extern struct token eof_token_entry;
224 extern struct token *built_in_token(int, struct ident *);
228 extern const char *show_token(const struct token *);
229 extern const char *quote_token(const struct token *);
230 extern struct token * tokenize(const char *, int, struct token *, const char **next_path);
231 extern struct token * tokenize_buffer(void *, unsigned long, struct token **);
235 extern struct token *preprocess(struct token *);
237 extern void store_all_tokens(struct token *token);
238 extern struct token *pos_get_token(struct position pos);
241 extern void store_macro_pos(struct token *);
246 static inline int match_op(struct token *token, unsigned int op) in match_op() argument
248 return token->pos.type == TOKEN_SPECIAL && token->special == op; in match_op()
251 static inline int match_ident(struct token *token, struct ident *id) in match_ident() argument
253 return token->pos.type == TOKEN_IDENT && token->ident == id; in match_ident()