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