** Mark block where variable at given level was defined ** (to emit close instructions later). */
| 449 | ** (to emit close instructions later). |
| 450 | */ |
| 451 | static void markupval (FuncState *fs, int level) { |
| 452 | BlockCnt *bl = fs->bl; |
| 453 | while (bl->nactvar > level) |
| 454 | bl = bl->previous; |
| 455 | bl->upval = 1; |
| 456 | fs->needclose = 1; |
| 457 | } |
| 458 | |
| 459 | |
| 460 | /* |