Searched refs:lasttoken (Results 1 – 2 of 2) sorted by relevance
98 static int lasttoken; /* last token read */ variable428 if (lasttoken == TELSE) in command()442 n1->type = (lasttoken == TWHILE)? NWHILE : NUNTIL; in command()463 if (lasttoken == TWORD && ! quoteflag && equal(wordtext, "in")) { in command()475 if (lasttoken != TNL && lasttoken != TSEMI) in command()491 if (lasttoken != TNL && lasttoken != TSEMI) in command()517 if (lasttoken != TWORD || ! equal(wordtext, "in")) in command()521 while (lasttoken != TESAC) { in command()525 if (lasttoken == TLP) in command()539 if (lasttoken != TRP) in command()[all …]
901 struct token *lasttoken; in get_date() local939 lasttoken = tokens; in get_date()940 while ((lasttoken->token = nexttoken(&p, &lasttoken->value)) != 0) { in get_date()941 ++lasttoken; in get_date()942 if (lasttoken > tokens + 255) in get_date()948 while (gds->tokenp < lasttoken) { in get_date()