Lines Matching refs:readtoken
124 static int readtoken(void);
227 t = readtoken(); in parsecmd()
259 while ((t = readtoken()) != TEOF) { in parsewordexp()
282 tok = readtoken(); in list()
310 tok = readtoken(); in list()
352 if ((t = readtoken()) == TAND) { in andor()
376 while (readtoken() == TNOT) in pipeline()
380 if (readtoken() == TPIPE) { in pipeline()
391 t = readtoken(); in pipeline()
398 } while (readtoken() == TPIPE); in pipeline()
431 while (readtoken() == TREDIR) { in command()
438 switch (readtoken()) { in command()
447 while (readtoken() == TELIF) { in command()
476 if (readtoken() != TWORD || quoteflag || ! goodname(wordtext)) in command()
482 if (readtoken() == TWORD && !quoteflag && in command()
485 while (readtoken() == TWORD) { in command()
514 if ((t = readtoken()) == TDO) in command()
530 if (readtoken() != TWORD || ! equal(wordtext, "in")) in command()
533 checkkwd = CHKNL | CHKKWD, readtoken(); in command()
539 readtoken(); in command()
543 if (readtoken() != TPIPE) in command()
546 readtoken(); in command()
554 if ((t = readtoken()) != TESAC) { in command()
561 checkkwd = CHKNL | CHKKWD, readtoken(); in command()
604 while (readtoken() == TREDIR) { in command()
652 if (readtoken() == TWORD) { in simplecmd()
817 t = readtoken(); in peektoken()
823 readtoken(void) in readtoken() function
1899 if (readtoken() != token) in consumetoken()