| 791 | |
| 792 | |
| 793 | l_noret luaG_opinterror (lua_State *L, const TValue *p1, |
| 794 | const TValue *p2, const char *msg) { |
| 795 | if (!ttisnumber(p1)) /* first operand is wrong? */ |
| 796 | p2 = p1; /* now second is wrong */ |
| 797 | luaG_typeerror(L, p2, msg); |
| 798 | } |
| 799 | |
| 800 | |
| 801 | /* |
no test coverage detected