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()
227 wdval = EOFSYM; in word()
503 t = makefork(FPOU, cmd(EOFSYM, MTFLG | NLFLG )); in comsubst()
118 #define EOFSYM 04000 /* end-of-file */ macro
401 return(lp->token=EOFSYM); in sh_lex()432 lp->token = EOFSYM; in sh_lex()456 return(lp->token=EOFSYM); in sh_lex()470 lp->token = EOFSYM; in sh_lex()1560 case EOFSYM: in comsub()1939 if(sym==EOFSYM) in fmttoken()1991 if((tok==EOFSYM) && lp->lasttok) in sh_syntax()
370 t = sh_cmd(lexp,(flag&SH_EOF)?EOFSYM:'\n',SH_SEMI|SH_EMPTY|(flag&SH_NL)); in sh_parse()509 case EOFSYM: in sh_cmd()624 if(tok!=esym && tok!=EOFSYM) in syncase()628 if(lexp->token==EOFSYM) in syncase()795 if((flag && lexp->token!=LBRACE) || lexp->token==EOFSYM) in funct()1033 if((tok=lexp->token) && tok!=EOFSYM && tok!=FUNCTSYM) in item()1066 if(!(t->sw.swlst=syncase(lexp,tok==INSYM?ESACSYM:RBRACE)) && lexp->token==EOFSYM) in item()