Home
last modified time | relevance | path

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

/titanic_44/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.c227 wdval = EOFSYM; in word()
H A Dmacro.c503 t = makefork(FPOU, cmd(EOFSYM, MTFLG | NLFLG )); in comsubst()
/titanic_44/usr/src/lib/libshell/common/include/
H A Dshlex.h118 #define EOFSYM 04000 /* end-of-file */ macro
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dlex.c401 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()
H A Dparse.c370 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()