Searched refs:prevscope (Results 1 – 2 of 2) sorted by relevance
213 struct sh_scoped savst, *prevscope = shp->st.self; in b_dot_cmd() local262 *prevscope = shp->st; in b_dot_cmd()272 shp->st.prevst = prevscope; in b_dot_cmd()275 prevscope->save_tree = shp->var_tree; in b_dot_cmd()305 prevscope->dolc = shp->st.dolc; in b_dot_cmd()306 prevscope->dolv = shp->st.dolv; in b_dot_cmd()311 memcpy((void*)&shp->st, (void*)prevscope, sizeof(Shscope_t)); in b_dot_cmd()312 shp->topscope = (Shscope_t*)prevscope; in b_dot_cmd()
2557 struct sh_scoped savst, *prevscope = shp->st.self; in sh_funscope() local2574 *prevscope = shp->st; in sh_funscope()2576 shp->st.prevst = prevscope; in sh_funscope()2588 prevscope->save_tree = shp->var_tree; in sh_funscope()2590 if(dtvnext(prevscope->save_tree)!= (shp->namespace?shp->var_base:0)) in sh_funscope()2593 nv_scan(prevscope->save_tree, local_exports,(void*)0, NV_EXPORT, NV_EXPORT|NV_NOSCOPE); in sh_funscope()2657 shp->var_tree = (Dt_t*)prevscope->save_tree; in sh_funscope()2666 shp->st = *prevscope; in sh_funscope()2667 shp->topscope = (Shscope_t*)prevscope; in sh_funscope()