Home
last modified time | relevance | path

Searched refs:prevscope (Results 1 – 2 of 2) sorted by relevance

/titanic_53/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c213 struct sh_scoped savst, *prevscope = shp->st.self; in b_dot_cmd() local
263 *prevscope = shp->st; in b_dot_cmd()
273 shp->st.prevst = prevscope; in b_dot_cmd()
276 prevscope->save_tree = shp->var_tree; in b_dot_cmd()
308 prevscope->dolc = shp->st.dolc; in b_dot_cmd()
309 prevscope->dolv = shp->st.dolv; in b_dot_cmd()
314 memcpy((void*)&shp->st, (void*)prevscope, sizeof(Shscope_t)); in b_dot_cmd()
315 shp->topscope = (Shscope_t*)prevscope; in b_dot_cmd()
/titanic_53/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c3342 struct sh_scoped savst, *prevscope = shp->st.self; in sh_funscope() local
3361 *prevscope = shp->st; in sh_funscope()
3363 shp->st.prevst = prevscope; in sh_funscope()
3375 prevscope->save_tree = shp->var_tree; in sh_funscope()
3376 n = dtvnext(prevscope->save_tree)!= (shp->namespace?shp->var_base:0); in sh_funscope()
3384 nv_scan(prevscope->save_tree, local_exports,&tdata, NV_EXPORT, NV_EXPORT|NV_NOSCOPE); in sh_funscope()
3456 shp->var_tree = (Dt_t*)prevscope->save_tree; in sh_funscope()
3461 shp->st = *prevscope; in sh_funscope()
3462 shp->topscope = (Shscope_t*)prevscope; in sh_funscope()