Lines Matching refs:token
144 int token;
152 token = ENDOFFILE;
155 token = ENDOFLINE;
158 token = LESS;
161 token = GREATER;
164 token = COLON;
167 token = EXCLAM;
170 token = TILDE;
177 token = ERROR;
232 token = ERROR;
239 token = ERROR;
250 token = STRING;
256 token = ENDOFLINE;
258 token = ENDOFFILE;
272 token = KEY;
274 token = ERROR;
279 return(token);
456 int token;
484 token = nexttoken(fp, tokenbuf, &lastch);
485 } while (token == ENDOFLINE);
487 if (token == ENDOFFILE) {
493 if ((token == KEY) && (strcmp("include", tokenbuf) == 0)) {
496 token = nexttoken(fp, tokenbuf, &lastch);
497 if (token != KEY && token != STRING)
510 } else if ((token == KEY) && (strcmp("None", tokenbuf) == 0)) {
513 token = nexttoken(fp, tokenbuf, &lastch);
517 if (token == EXCLAM) {
519 token = nexttoken(fp, tokenbuf, &lastch);
521 while (token == TILDE || token == KEY) {
523 if (token == TILDE) {
525 token = nexttoken(fp, tokenbuf, &lastch);
526 if (token != KEY)
539 token = nexttoken(fp, tokenbuf, &lastch);
546 if (token != LESS) {
550 token = nexttoken(fp, tokenbuf, &lastch);
551 if (token != KEY) {
555 token = nexttoken(fp, tokenbuf, &lastch);
556 if (token != GREATER) {
571 token = nexttoken(fp, tokenbuf, &lastch);
572 } while (token != COLON);
574 token = nexttoken(fp, tokenbuf, &lastch);
575 if (token == STRING) {
588 token = nexttoken(fp, tokenbuf, &lastch);
589 if (token == KEY) {
594 token = nexttoken(fp, tokenbuf, &lastch);
596 if (token != ENDOFLINE && token != ENDOFFILE) {
599 } else if (token == KEY) {
604 token = nexttoken(fp, tokenbuf, &lastch);
605 if (token != ENDOFLINE && token != ENDOFFILE) {
707 while (token != ENDOFLINE && token != ENDOFFILE) {
708 token = nexttoken(fp, tokenbuf, &lastch);