** Mark block where variable at given level was defined ** (to emit close instructions later). */
| 408 | ** (to emit close instructions later). |
| 409 | */ |
| 410 | static void markupval (FuncState *fs, int level) { |
| 411 | BlockCnt *bl = fs->bl; |
| 412 | while (bl->nactvar > level) |
| 413 | bl = bl->previous; |
| 414 | bl->upval = 1; |
| 415 | fs->needclose = 1; |
| 416 | } |
| 417 | |
| 418 | |
| 419 | /* |