MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / removevars

Function removevars

third-party/lua-5.3.5/src/lparser.c:211–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209
210
211static void removevars (FuncState *fs, int tolevel) {
212 fs->ls->dyd->actvar.n -= (fs->nactvar - tolevel);
213 while (fs->nactvar > tolevel)
214 getlocvar(fs, --fs->nactvar)->endpc = fs->pc;
215}
216
217
218static int searchupvalue (FuncState *fs, TString *name) {

Callers 1

leaveblockFunction · 0.70

Calls 1

getlocvarFunction · 0.70

Tested by

no test coverage detected