Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c103 char comsub; member
215 shp->comsub = 0; in sh_subfork()
531 if(comsub) in sh_subshell()
536 sp->comsub = shp->comsub; in sh_subshell()
537 shp->subshare = comsub==2 || (comsub==1 && sh_isoption(SH_SUBSHARE)); in sh_subshell()
538 if(comsub) in sh_subshell()
539 shp->comsub = comsub; in sh_subshell()
540 if(!comsub || !shp->subshare) in sh_subshell()
596 if(comsub) in sh_subshell()
655 if(comsub) in sh_subshell()
[all …]
H A Dlex.c136 static int comsub(Lex_t*,int);
289 lp->comsub = 0; in sh_lexopen()
879 wordflags |= comsub(lp,c); in sh_lex()
1240 if(lp->comsub) in sh_lex()
1259 if(lp->comsub && c==RBRACE) in sh_lex()
1362 else if(n==RBRACE && lp->comsub) in sh_lex()
1601 csub = lp->comsub; in comsub()
1606 lp->comsub = (endtok==LBRACE); in comsub()
1664 lp->comsub = 0; in comsub()
1673 lp->comsub = endtok==LBRACE; in comsub()
[all …]
H A Dxec.c582 char comsub = shp->comsub; in sh_eval() local
585 shp->comsub = 0; in sh_eval()
625 shp->comsub = comsub; in sh_eval()
1939 if(shp->comsub==1) in sh_exec()
1968 if(shp->comsub==1 && usepipe) in sh_exec()
2617 if(shp->subshell && shp->comsub==1) in sh_exec()
3176 if(shp->comsub==1 && usepipe) in _sh_fork()
3236 shp->comsub = 0; in _sh_fork()
3496 int level, pipepid=shp->pipepid, comsub=shp->comsub; in sh_funct() local
3497 shp->comsub = 0; in sh_funct()
[all …]
H A Dparse.c425 lp->comsub = 1; in sh_dolparen()
439 lp->comsub = 0; in sh_dolparen()
1131 int showme=0, comsub; in item() local
1317 comsub = lexp->comsub; in item()
1318 lexp->comsub = 0; in item()
1320 lexp->comsub = comsub; in item()
1736 if(token==RPAREN && (iof&IOLSEEK) && lexp->comsub) in inout()
H A Dio.c1289 if(shp->comsub==1) in sh_redirect()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshlex.h50 char comsub; /* parsing command substitution */ member
H A Ddefs.h205 char comsub; /* set when in $() comsub */ \