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