| 595 | |
| 596 | |
| 597 | l_noret luaG_opinterror (lua_State *L, const TValue *p1, |
| 598 | const TValue *p2, const char *msg) { |
| 599 | lua_Number temp; |
| 600 | if (!tonumber(p1, &temp)) /* first operand is wrong? */ |
| 601 | p2 = p1; /* now second is wrong */ |
| 602 | luaG_typeerror(L, p2, msg); |
| 603 | } |
| 604 | |
| 605 | |
| 606 | /* |
no test coverage detected