MCPcopy Create free account
hub / github.com/defold/defold / luaD_protectedparser

Function luaD_protectedparser

engine/lua/src/lua/ldo.c:508–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

lua_loadFunction · 0.85

Calls 1

luaD_pcallFunction · 0.85

Tested by

no test coverage detected