MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / checktoclose

Function checktoclose

xrepo/packages/l/lua/port/lua/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.85

Calls 2

marktobeclosedFunction · 0.85
reglevelFunction · 0.85

Tested by

no test coverage detected