Searched refs:EOFSYM (Results 1 – 7 of 7) sorted by relevance
55 #define EOFSYM 02000 macro
141 case EOFSYM:590 else if (sym == EOFSYM) in prsym()
226 wdval = EOFSYM; in word()
502 t = makefork(FPOU, cmd(EOFSYM, MTFLG | NLFLG )); in comsubst()
120 #define EOFSYM 04000 /* end-of-file */ macro
421 return(lp->token=EOFSYM); in sh_lex()452 lp->token = EOFSYM; in sh_lex()479 return(lp->token=EOFSYM); in sh_lex()493 lp->token = EOFSYM; in sh_lex()1686 case EOFSYM: in comsub()2103 if(sym==EOFSYM) in fmttoken()2155 if((tok==EOFSYM) && lp->lasttok) in sh_syntax()
393 t = sh_cmd(lexp,(flag&SH_EOF)?EOFSYM:'\n',SH_SEMI|SH_EMPTY|(flag&SH_NL)); in sh_parse()532 case EOFSYM: in sh_cmd()656 if(tok!=esym && tok!=EOFSYM) in syncase()660 if(lexp->token==EOFSYM) in syncase()852 if((flag && lexp->token!=LBRACE) || lexp->token==EOFSYM) in funct()1136 if((tok=lexp->token) && tok!=EOFSYM && tok!=FUNCTSYM) in item()1169 if(!(t->sw.swlst=syncase(lexp,tok==INSYM?ESACSYM:RBRACE)) && lexp->token==EOFSYM) in item()