MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaD_protectedparser

Function luaD_protectedparser

lua/ldo.c:516–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514
515
516int luaD_protectedparser (lua_State *L, ZIO *z, const char *name) {
517 struct SParser p;
518 int status;
519 p.z = z; p.name = name;
520 luaZ_initbuffer(L, &p.buff);
521 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc);
522 luaZ_freebuffer(L, &p.buff);
523 return status;
524}
525

Callers 1

lua_loadFunction · 0.85

Calls 1

luaD_pcallFunction · 0.85

Tested by

no test coverage detected