Searched refs:comsub (Results 1 – 7 of 7) sorted by relevance
103 char comsub; member215 shp->comsub = 0; in sh_subfork()474 Sfio_t *sh_subshell(Shell_t *shp,Shnode_t *t, volatile int flags, int comsub) in sh_subshell() argument531 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()[all …]
136 static int comsub(Lex_t*,int);289 lp->comsub = 0; in sh_lexopen()879 wordflags |= comsub(lp,c); in sh_lex()1238 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub)) 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()1593 static int comsub(register Lex_t *lp, int endtok) in comsub() function1601 csub = lp->comsub; in comsub()1606 lp->comsub = (endtok==LBRACE); in comsub()[all …]
582 char comsub = shp->comsub; in sh_eval() local585 shp->comsub = 0; in sh_eval()625 shp->comsub = comsub; in sh_eval()1610 if(shp->comsub==1 && !(shp->fdstatus[1]&IONOSEEK)) in sh_exec()1689 if(shp->comsub==1 && usepipe && unpipe) in sh_exec()1706 if(shp->comsub==1 && usepipe && unpipe) in sh_exec()1939 if(shp->comsub==1) in sh_exec()1968 if(shp->comsub==1 && usepipe) in sh_exec()2076 if(shp->comsub==1 && !(shp->fdstatus[1]&IONOSEEK)) in sh_exec()2617 if(shp->subshell && shp->comsub==1) in sh_exec()[all …]
425 lp->comsub = 1; in sh_dolparen()439 lp->comsub = 0; in sh_dolparen()1131 int showme=0, comsub; in item() local1317 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()
1289 if(shp->comsub==1) in sh_redirect()
50 char comsub; /* parsing command substitution */ member
205 char comsub; /* set when in $() comsub */ \