Home
last modified time | relevance | path

Searched refs:EOFSYM (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dsym.h55 #define EOFSYM 02000 macro
H A Dcmd.c141 case EOFSYM:
590 else if (sym == EOFSYM) in prsym()
H A Dword.c226 wdval = EOFSYM; in word()
H A Dmacro.c502 t = makefork(FPOU, cmd(EOFSYM, MTFLG | NLFLG )); in comsubst()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshlex.h120 #define EOFSYM 04000 /* end-of-file */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c421 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()
H A Dparse.c393 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()