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

Function checktoclose

third-party/lua-5.4.6/src/lparser.c:1717–1722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1715
1716
1717static void checktoclose (FuncState *fs, int level) {
1718 if (level != -1) { /* is there a to-be-closed variable? */
1719 marktobeclosed(fs);
1720 luaK_codeABC(fs, OP_TBC, reglevel(fs, level), 0, 0);
1721 }
1722}
1723
1724
1725static void localstat (LexState *ls) {

Callers 1

localstatFunction · 0.70

Calls 3

marktobeclosedFunction · 0.70
reglevelFunction · 0.70
luaK_codeABCFunction · 0.50

Tested by

no test coverage detected