MCPcopy Create free account
hub / github.com/DFHack/dfhack / markupval

Function markupval

depends/lua/src/lparser.c:258–263  ·  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

256 (to emit close instructions later).
257*/
258static void markupval (FuncState *fs, int level) {
259 BlockCnt *bl = fs->bl;
260 while (bl->nactvar > level)
261 bl = bl->previous;
262 bl->upval = 1;
263}
264
265
266/*

Callers 1

singlevarauxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected