| 551 | |
| 552 | |
| 553 | l_noret luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { |
| 554 | TValue temp; |
| 555 | if (luaV_tonumber(p1, &temp) == NULL) |
| 556 | p2 = p1; /* first operand is wrong */ |
| 557 | luaG_typeerror(L, p2, "perform arithmetic on"); |
| 558 | } |
| 559 | |
| 560 | |
| 561 | l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) { |
no test coverage detected