| 591 | |
| 592 | |
| 593 | void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { |
| 594 | TValue temp; |
| 595 | if (luaV_tonumber(p1, &temp) == NULL) |
| 596 | p2 = p1; /* first operand is wrong */ |
| 597 | luaG_typeerror(L, p2, "perform arithmetic on"); |
| 598 | } |
| 599 | |
| 600 | |
| 601 | int luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) { |
no test coverage detected