MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / markupval

Function markupval

3rd/lua-5.4.3/src/lparser.c:410–416  ·  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

408** (to emit close instructions later).
409*/
410static void markupval (FuncState *fs, int level) {
411 BlockCnt *bl = fs->bl;
412 while (bl->nactvar > level)
413 bl = bl->previous;
414 bl->upval = 1;
415 fs->needclose = 1;
416}
417
418
419/*

Callers 3

singlevarauxFunction · 0.85
forlistFunction · 0.85
checktocloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected