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