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