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

Function checktoclose

extlibs/lua/src/lparser.c:1737–1744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735
1736
1737static void checktoclose (LexState *ls, int level) {
1738 if (level != -1) { /* is there a to-be-closed variable? */
1739 FuncState *fs = ls->fs;
1740 markupval(fs, level + 1);
1741 fs->bl->insidetbc = 1; /* in the scope of a to-be-closed variable */
1742 luaK_codeABC(fs, OP_TBC, level, 0, 0);
1743 }
1744}
1745
1746
1747static void localstat (LexState *ls) {

Callers 1

localstatFunction · 0.85

Calls 1

markupvalFunction · 0.85

Tested by

no test coverage detected