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

Function removevars

third-party/lua-5.2.4/src/lparser.c:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

leaveblockFunction · 0.70

Calls 1

getlocvarFunction · 0.70

Tested by

no test coverage detected