MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaD_protectedparser

Function luaD_protectedparser

deps/lua/src/ldo.c:509–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507
508
509int luaD_protectedparser (lua_State *L, ZIO *z, const char *name) {
510 struct SParser p;
511 int status;
512 p.z = z; p.name = name;
513 luaZ_initbuffer(L, &p.buff);
514 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc);
515 luaZ_freebuffer(L, &p.buff);
516 return status;
517}
518
519

Callers 1

lua_loadFunction · 0.85

Calls 1

luaD_pcallFunction · 0.85

Tested by

no test coverage detected