MCPcopy Create free account
hub / github.com/F-Stack/f-stack / newlabelentry

Function newlabelentry

freebsd/contrib/openzfs/module/lua/lparser.c:382–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381
382static 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/*

Callers 3

breaklabelFunction · 0.85
gotostatFunction · 0.85
labelstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected