| 562 | |
| 563 | |
| 564 | l_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 | |
| 574 | static void addinfo (lua_State *L, const char *msg) { |
no test coverage detected