Searched refs:comsub (Results 1 – 4 of 4) sorted by relevance
469 Sfio_t *sh_subshell(Shnode_t *t, int flags, int comsub) in sh_subshell() argument513 if(comsub) in sh_subshell()516 shp->subshare = comsub==2 || (comsub==1 && sh_isoption(SH_SUBSHARE)); in sh_subshell()517 if(!comsub || !shp->subshare) in sh_subshell()541 if(comsub) in sh_subshell()575 if(comsub!=2 && jmpval!=SH_JMPSUB && shp->st.trapcom[0] && shp->subshell) in sh_subshell()593 if(comsub) in sh_subshell()649 if(comsub) in sh_subshell()652 if(comsub && iop && sp->pipefd<0) in sh_subshell()740 if(sp->subpid && !comsub) in sh_subshell()
131 static int comsub(Lex_t*,int);278 lp->comsub = 0; in sh_lexopen()828 wordflags |= comsub(lp,c); in sh_lex()1163 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub)) in sh_lex()1177 if(lp->comsub && c==RBRACE) in sh_lex()1277 else if(n==RBRACE && lp->comsub) in sh_lex()1483 static int comsub(register Lex_t *lp, int endtok) in comsub() function1491 csub = lp->comsub; in comsub()1496 lp->comsub = (endtok==LBRACE); in comsub()1539 lp->comsub = 0; in comsub()[all …]
402 lp->comsub = 1; in sh_dolparen()416 lp->comsub = 0; in sh_dolparen()1028 int showme=0, comsub; in item() local1213 comsub = lexp->comsub; in item()1214 lexp->comsub = 0; in item()1216 lexp->comsub = comsub; in item()1604 if(token==RPAREN && (iof&IOLSEEK) && lexp->comsub) in inout()
50 char comsub; /* parsing command substitution */ member