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

Function markupval

third-party/lua-5.5.0/src/lparser.c:451–457  ·  view source on GitHub ↗

** Mark block where variable at given level was defined ** (to emit close instructions later). */

Source from the content-addressed store, hash-verified

449** (to emit close instructions later).
450*/
451static void markupval (FuncState *fs, int level) {
452 BlockCnt *bl = fs->bl;
453 while (bl->nactvar > level)
454 bl = bl->previous;
455 bl->upval = 1;
456 fs->needclose = 1;
457}
458
459
460/*

Callers 1

singlevarauxFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected