| 782 | |
| 783 | |
| 784 | l_noret luaG_opinterror (lua_State *L, const TValue *p1, |
| 785 | const TValue *p2, const char *msg) { |
| 786 | if (!ttisnumber(p1)) /* first operand is wrong? */ |
| 787 | p2 = p1; /* now second is wrong */ |
| 788 | luaG_typeerror(L, p2, msg); |
| 789 | } |
| 790 | |
| 791 | |
| 792 | /* |
no test coverage detected