| 762 | |
| 763 | |
| 764 | l_noret luaG_opinterror (lua_State *L, const TValue *p1, |
| 765 | const TValue *p2, const char *msg) { |
| 766 | if (!ttisnumber(p1)) /* first operand is wrong? */ |
| 767 | p2 = p1; /* now second is wrong */ |
| 768 | luaG_typeerror(L, p2, msg); |
| 769 | } |
| 770 | |
| 771 | |
| 772 | /* |
no test coverage detected