| 1735 | |
| 1736 | |
| 1737 | static 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 | |
| 1747 | static void localstat (LexState *ls) { |