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