MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / removevars

Function removevars

lua/lparser.c:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205
206
207static void removevars (LexState *ls, int tolevel) {
208 FuncState *fs = ls->fs;
209 while (fs->nactvar > tolevel)
210 getlocvar(fs, --fs->nactvar).endpc = fs->pc;
211}
212
213
214static int indexupvalue (FuncState *fs, TString *name, expdesc *v) {

Callers 2

leaveblockFunction · 0.85
close_funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected