| 382 | |
| 383 | |
| 384 | static int newlabelentry (LexState *ls, Labellist *l, TString *name, |
| 385 | int line, int pc) { |
| 386 | int n = l->n; |
| 387 | luaM_growvector(ls->L, l->arr, n, l->size, |
| 388 | Labeldesc, SHRT_MAX, "labels/gotos"); |
| 389 | l->arr[n].name = name; |
| 390 | l->arr[n].line = line; |
| 391 | l->arr[n].nactvar = ls->fs->nactvar; |
| 392 | l->arr[n].pc = pc; |
| 393 | l->n++; |
| 394 | return n; |
| 395 | } |
| 396 | |
| 397 | |
| 398 | /* |
no outgoing calls
no test coverage detected