| 712 | |
| 713 | |
| 714 | l_noret luaG_opinterror (lua_State *L, const TValue *p1, |
| 715 | const TValue *p2, const char *msg) { |
| 716 | if (!ttisnumber(p1)) /* first operand is wrong? */ |
| 717 | p2 = p1; /* now second is wrong */ |
| 718 | luaG_typeerror(L, p2, msg); |
| 719 | } |
| 720 | |
| 721 | |
| 722 | /* |
no test coverage detected