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