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

Function luaG_ordererror

third-party/lua-5.2.4/src/ldebug.c:564–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562
563
564l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) {
565 const char *t1 = objtypename(p1);
566 const char *t2 = objtypename(p2);
567 if (t1 == t2)
568 luaG_runerror(L, "attempt to compare two %s values", t1);
569 else
570 luaG_runerror(L, "attempt to compare %s with %s", t1, t2);
571}
572
573
574static void addinfo (lua_State *L, const char *msg) {

Callers 2

luaV_lessthanFunction · 0.70
luaV_lessequalFunction · 0.70

Calls 1

luaG_runerrorFunction · 0.70

Tested by

no test coverage detected