| 403 | |
| 404 | |
| 405 | static int newlabelentry(LexState *ls, Labellist *l, TString *name, |
| 406 | int line, int pc) { |
| 407 | int n = l->n; |
| 408 | luaM_growvector(ls->L, l->arr, n, l->size, |
| 409 | Labeldesc, SHRT_MAX, "labels/gotos"); |
| 410 | l->arr[n].name = name; |
| 411 | l->arr[n].line = line; |
| 412 | l->arr[n].nactvar = ls->fs->nactvar; |
| 413 | l->arr[n].pc = pc; |
| 414 | l->n = n + 1; |
| 415 | return n; |
| 416 | } |
| 417 | |
| 418 | |
| 419 | /* |
no outgoing calls
no test coverage detected