Lines Matching refs:readtoken
121 static int readtoken(void);
224 t = readtoken(); in parsecmd()
256 while ((t = readtoken()) != TEOF) { in parsewordexp()
279 tok = readtoken(); in list()
307 tok = readtoken(); in list()
349 if ((t = readtoken()) == TAND) { in andor()
373 while (readtoken() == TNOT) in pipeline()
377 if (readtoken() == TPIPE) { in pipeline()
388 t = readtoken(); in pipeline()
395 } while (readtoken() == TPIPE); in pipeline()
428 while (readtoken() == TREDIR) { in command()
435 switch (readtoken()) { in command()
444 while (readtoken() == TELIF) { in command()
473 if (readtoken() != TWORD || quoteflag || ! goodname(wordtext)) in command()
479 if (readtoken() == TWORD && !quoteflag && in command()
482 while (readtoken() == TWORD) { in command()
511 if ((t = readtoken()) == TDO) in command()
527 if (readtoken() != TWORD || ! equal(wordtext, "in")) in command()
530 checkkwd = CHKNL | CHKKWD, readtoken(); in command()
536 readtoken(); in command()
540 if (readtoken() != TPIPE) in command()
543 readtoken(); in command()
551 if ((t = readtoken()) != TESAC) { in command()
558 checkkwd = CHKNL | CHKKWD, readtoken(); in command()
601 while (readtoken() == TREDIR) { in command()
649 if (readtoken() == TWORD) { in simplecmd()
814 t = readtoken(); in peektoken()
820 readtoken(void) in readtoken() function
1896 if (readtoken() != token) in consumetoken()