MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaG_errnnil

Function luaG_errnnil

third-party/lua-5.5.0/src/ldebug.c:817–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815
816
817l_noret luaG_errnnil (lua_State *L, LClosure *cl, int k) {
818 const char *globalname = "?"; /* default name if k == 0 */
819 if (k > 0)
820 kname(cl->p, k - 1, &globalname);
821 luaG_runerror(L, "global '%s' already defined", globalname);
822}
823
824
825/* add src:line information to 'msg' */

Callers 1

luaV_executeFunction · 0.85

Calls 2

knameFunction · 0.70
luaG_runerrorFunction · 0.70

Tested by

no test coverage detected