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()
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()
975 t->for_.fornam = (char*)(ap->argval+1); in assign()976 t->for_.fortyp = sh_getlineno(lexp); in assign()977 tp = &t->for_.fortre; in assign()1206 t->for_.fortyp=(lexp->token==FORSYM?TFOR:TSELECT); in item()1207 t->for_.forlst=0; in item()1208 t->for_.forline = lexp->sh->inlineno; in item()1211 if(lexp->token!=EXPRSYM || t->for_.fortyp!=TFOR) in item()1217 t->for_.fornam=(char*) lexp->arg->argval; in item()1218 t->for_.fortyp |= FLINENO; in item()1233 t->for_.forlst = (struct comnod*)getnode(comnod); in item()[all …]
260 sfputr(outfile,t->for_.fornam,' '); in p_tree()261 if(t->for_.forlst) in p_tree()266 p_comarg(t->for_.forlst); in p_tree()272 t = t->for_.fortre; in p_tree()
342 n=sh_tclear(t->for_.fortre); in sh_tclear()343 return(n+sh_tclear((Shnode_t*)t->for_.forlst)); in sh_tclear()2263 sh_tclear(t->for_.fortre); in sh_exec()2269 error_info.line = t->for_.forline-shp->st.firstline; in sh_exec()2270 if(!(tp=t->for_.forlst)) in sh_exec()2281 np = nv_open(t->for_.fornam, shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME|NV_NOREF); in sh_exec()2339 av[1] = t->for_.fornam; in sh_exec()2349 sh_exec(t->for_.fortre,0); in sh_exec()2354 sh_exec(t->for_.fortre,flag); in sh_exec()2370 sh_tclear(t->for_.fortre); in sh_exec()[all …]
203 struct fornod for_; member