** Close the scope for all variables up to level 'tolevel'. ** (debug info.) */
| 326 | ** (debug info.) |
| 327 | */ |
| 328 | static void removevars (FuncState *fs, int tolevel) { |
| 329 | fs->ls->dyd->actvar.n -= (fs->nactvar - tolevel); |
| 330 | while (fs->nactvar > tolevel) { |
| 331 | LocVar *var = localdebuginfo(fs, --fs->nactvar); |
| 332 | if (var) /* does it have debug information? */ |
| 333 | var->endpc = fs->pc; |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | |
| 338 | /* |
no test coverage detected