** check whether new label 'lb' matches any pending gotos in current ** block; solves forward jumps */
| 401 | ** block; solves forward jumps |
| 402 | */ |
| 403 | static void findgotos (LexState *ls, Labeldesc *lb) { |
| 404 | Labellist *gl = &ls->dyd->gt; |
| 405 | int i = ls->fs->bl->firstgoto; |
| 406 | while (i < gl->n) { |
| 407 | if (eqstr(gl->arr[i].name, lb->name)) |
| 408 | closegoto(ls, i, lb); |
| 409 | else |
| 410 | i++; |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | |
| 415 | /* |
no test coverage detected