Searched defs:comsub (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshlex.h50 char comsub; /* parsing command substitution */ member in struct:_shlex_
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dsubshell.c464 * If comsub is not null, then output will be placed in temp file (or buffer)
465 * If comsub is not null, the return value will be a stream consisting of
469 Sfio_t *sh_subshell(Shnode_t *t, int flags, int comsub) argument
513 if(comsub)
516 shp->subshare = comsub==2 || (comsub==1 && sh_isoption(SH_SUBSHARE));
517 if(!comsub || !shp->subshare)
541 if(comsub)
575 if(comsub!=2 && jmpval!=SH_JMPSUB && shp->st.trapcom[0] && shp->subshell)
593 if(comsub)
[all...]
H A Dlex.c131 static int comsub(Lex_t*,int);
278 lp->comsub = 0;
828 wordflags |= comsub(lp,c);
1163 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub))
1177 if(lp->comsub && c==RBRACE)
1277 else if(n==RBRACE && lp->comsub)
1483 static int comsub(register Lex_t *lp, int endtok) function
1491 csub = lp->comsub;
1496 lp->comsub = (endtok==LBRACE);
1539 lp->comsub
[all...]
H A Dparse.c402 lp->comsub = 1;
416 lp->comsub = 0;
1028 int showme=0, comsub; local
1213 comsub = lexp->comsub;
1214 lexp->comsub = 0;
1216 lexp->comsub = comsub;
1604 if(token==RPAREN && (iof&IOLSEEK) && lexp->comsub)

Completed in 85 milliseconds