Lines Matching refs:token
60 static void unget_token(token *);
64 static void findkind(char **, token *);
70 static int pushed = 0; /* is a token pushed */
71 static token lasttok; /* last token, if pushed */
74 * scan expecting 1 given token
77 scan(tok_kind expect, token *tokp)
88 scan2(tok_kind expect1, tok_kind expect2, token *tokp)
96 * scan expecting any of the 3 given token
99 scan3(tok_kind expect1, tok_kind expect2, tok_kind expect3, token *tokp)
111 scan_num(token *tokp)
122 * Peek at the next token
125 peek(token *tokp)
131 * Peek at the next token and scan it if it matches what you expect
134 peekscan(tok_kind expect, token *tokp)
144 * Get the next token, printing out any directive that are encountered.
147 get_token(token *tokp)
204 * 'where' is not whitespace, comment or directive Must be a token!
298 unget_token(token *tokp)
379 static const token symbols[] = {
407 findkind(char **mark, token *tokp)
410 const token *s;