Lines Matching refs:token
58 static int pushed = 0; /* is a token pushed */
59 static token lasttok; /* last token, if pushed */
61 static void unget_token( token * );
65 static void findkind( char **, token * );
72 * scan expecting 1 given token
75 scan(tok_kind expect, token *tokp)
87 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)
112 scan_num(token *tokp)
124 * Peek at the next token
127 peek(token *tokp)
134 * Peek at the next token and scan it if it matches what you expect
137 peekscan(tok_kind expect, token *tokp)
148 * Get the next token, printing out any directive that are encountered.
151 get_token(token *tokp)
211 * 'where' is not whitespace, comment or directive Must be a token!
311 unget_token(token *tokp)
389 static token symbols[] = {
417 findkind(char **mark, token *tokp)
420 token *s;