Lines Matching refs:readtoken
119 static int readtoken(void);
222 t = readtoken(); in parsecmd()
254 while ((t = readtoken()) != TEOF) { in parsewordexp()
277 tok = readtoken(); in list()
305 tok = readtoken(); in list()
347 if ((t = readtoken()) == TAND) { in andor()
371 while (readtoken() == TNOT) in pipeline()
375 if (readtoken() == TPIPE) { in pipeline()
386 t = readtoken(); in pipeline()
393 } while (readtoken() == TPIPE); in pipeline()
426 while (readtoken() == TREDIR) { in command()
433 switch (readtoken()) { in command()
442 while (readtoken() == TELIF) { in command()
471 if (readtoken() != TWORD || quoteflag || ! goodname(wordtext)) in command()
477 if (readtoken() == TWORD && !quoteflag && in command()
480 while (readtoken() == TWORD) { in command()
509 if ((t = readtoken()) == TDO) in command()
525 if (readtoken() != TWORD || ! equal(wordtext, "in")) in command()
528 checkkwd = CHKNL | CHKKWD, readtoken(); in command()
534 readtoken(); in command()
538 if (readtoken() != TPIPE) in command()
541 readtoken(); in command()
549 if ((t = readtoken()) != TESAC) { in command()
556 checkkwd = CHKNL | CHKKWD, readtoken(); in command()
599 while (readtoken() == TREDIR) { in command()
647 if (readtoken() == TWORD) { in simplecmd()
812 t = readtoken(); in peektoken()
818 readtoken(void) in readtoken() function
1894 if (readtoken() != token) in consumetoken()