| 600 | |
| 601 | |
| 602 | void luaG_opinterror(lua_State *L, const TValue *p1, |
| 603 | const TValue *p2, const char *msg) { |
| 604 | lua_Number temp; |
| 605 | if (!tonumber(p1, &temp)) /* first operand is wrong? */ |
| 606 | p2 = p1; /* now second is wrong */ |
| 607 | luaG_typeerror(L, p2, msg); |
| 608 | } |
| 609 | |
| 610 | |
| 611 | /* |
no test coverage detected