Lines Matching refs:readtoken
126 static int readtoken(void);
229 t = readtoken(); in parsecmd()
261 while ((t = readtoken()) != TEOF) { in parsewordexp()
284 tok = readtoken(); in list()
312 tok = readtoken(); in list()
354 if ((t = readtoken()) == TAND) { in andor()
378 while (readtoken() == TNOT) in pipeline()
382 if (readtoken() == TPIPE) { in pipeline()
393 t = readtoken(); in pipeline()
400 } while (readtoken() == TPIPE); in pipeline()
433 while (readtoken() == TREDIR) { in command()
440 switch (readtoken()) { in command()
449 while (readtoken() == TELIF) { in command()
478 if (readtoken() != TWORD || quoteflag || ! goodname(wordtext)) in command()
483 while (readtoken() == TNL) in command()
487 while (readtoken() == TWORD) { in command()
514 if ((t = readtoken()) == TDO) in command()
529 while (readtoken() == TNL); 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()