** Mark block where variable at given level was defined ** (to emit close instructions later). */
| 400 | ** (to emit close instructions later). |
| 401 | */ |
| 402 | static void markupval (FuncState *fs, int level) { |
| 403 | BlockCnt *bl = fs->bl; |
| 404 | while (bl->nactvar > level) |
| 405 | bl = bl->previous; |
| 406 | bl->upval = 1; |
| 407 | fs->needclose = 1; |
| 408 | } |
| 409 | |
| 410 | |
| 411 | /* |
no outgoing calls
no test coverage detected