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