MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / newlabelentry

Function newlabelentry

ThirdParty/lua/lua/lparser.c:380–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

breaklabelFunction · 0.85
gotostatFunction · 0.85
labelstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected