Searched refs:for_ (Results 1 – 6 of 6) sorted by relevance
119 if(sfputu(outfile,t->for_.forline)<0) in p_tree()121 if(p_tree(t->for_.fortre)<0) in p_tree()123 if(p_string(t->for_.fornam)<0) in p_tree()125 return(p_tree((Shnode_t*)t->for_.forlst)); in p_tree()
902 t->for_.fornam = (char*)(ap->argval+1); in assign()903 t->for_.fortyp = sh_getlineno(lexp); in assign()904 tp = &t->for_.fortre; in assign()1103 t->for_.fortyp=(lexp->token==FORSYM?TFOR:TSELECT); in item()1104 t->for_.forlst=0; in item()1105 t->for_.forline = lexp->sh->inlineno; in item()1108 if(lexp->token!=EXPRSYM || t->for_.fortyp!=TFOR) in item()1114 t->for_.fornam=(char*) lexp->arg->argval; in item()1115 t->for_.fortyp |= FLINENO; in item()1130 t->for_.forlst = (struct comnod*)getnode(comnod); in item()[all …]
114 t->for_.forline = 0; in r_tree()116 t->for_.forline = sfgetu(infile); in r_tree()117 t->for_.fortre = r_tree(shp); in r_tree()118 t->for_.fornam = r_string(shp->stk); in r_tree()119 t->for_.forlst = (struct comnod*)r_tree(shp); in r_tree()
251 sfputr(outfile,t->for_.fornam,' '); in p_tree()252 if(t->for_.forlst) in p_tree()257 p_comarg(t->for_.forlst); in p_tree()263 t = t->for_.fortre; in p_tree()
237 n=sh_tclear(t->for_.fortre); in sh_tclear()238 return(n+sh_tclear((Shnode_t*)t->for_.forlst)); in sh_tclear()1599 sh_tclear(t->for_.fortre); in sh_exec()1605 error_info.line = t->for_.forline-shp->st.firstline; in sh_exec()1606 if(!(tp=t->for_.forlst)) in sh_exec()1617 np = nv_open(t->for_.fornam, shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME|NV_NOREF); in sh_exec()1675 av[1] = t->for_.fornam; in sh_exec()1681 sh_exec(t->for_.fortre,flag); in sh_exec()1697 sh_tclear(t->for_.fortre); in sh_exec()1989 sh_exec(t->for_.fortre,flags); in sh_exec()
202 struct fornod for_; member