Lines Matching refs:readtoken
124 static int readtoken(void);
226 t = readtoken(); in parsecmd()
258 while ((t = readtoken()) != TEOF) { in parsewordexp()
281 tok = readtoken(); in list()
309 tok = readtoken(); in list()
351 if ((t = readtoken()) == TAND) { in andor()
375 while (readtoken() == TNOT) in pipeline()
379 if (readtoken() == TPIPE) { in pipeline()
390 t = readtoken(); in pipeline()
397 } while (readtoken() == TPIPE); in pipeline()
430 while (readtoken() == TREDIR) { in command()
437 switch (readtoken()) { in command()
446 while (readtoken() == TELIF) { in command()
475 if (readtoken() != TWORD || quoteflag || ! goodname(wordtext)) in command()
480 while (readtoken() == TNL) in command()
484 while (readtoken() == TWORD) { in command()
511 if ((t = readtoken()) == TDO) in command()
526 while (readtoken() == TNL); 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()