MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / markupval

Function markupval

extlibs/lua/src/lparser.c:402–408  ·  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

400** (to emit close instructions later).
401*/
402static void markupval (FuncState *fs, int level) {
403 BlockCnt *bl = fs->bl;
404 while (bl->nactvar > level)
405 bl = bl->previous;
406 bl->upval = 1;
407 fs->needclose = 1;
408}
409
410
411/*

Callers 3

singlevarauxFunction · 0.85
forlistFunction · 0.85
checktocloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected