Lines Matching refs:token
79 const char *name; /* token name */
80 int value; /* token id */
151 static char *sc_token; /* scanner - token buffer */
152 static size_t sc_len; /* scanner - length of token buffer */
153 static int sc_tokid; /* scanner - token id */
154 static int sc_tokplur; /* scanner - is token plural? */
159 * parse a token, checking if it's something special to us
195 * token() fetches a token from the input stream
198 token(void)
230 /* preserve the first character of the new token
259 } /* token */
263 * plonk() gives an appropriate error message if a token is incorrect
274 * expect() gets a token and dies most horribly if it's not the token we want
279 if (token() != desired)
294 switch (token()) {
375 if (token() == DOT) {
380 token();
402 token();
498 token();
508 if (token() == NUMBER) {
510 token();
541 token();
549 if (token() == sep) {
552 token();
613 switch (token()) {
656 token();