better error message for bitwise operators (they are not arithmetic...)

This commit is contained in:
Roberto Ierusalimschy
2014-11-10 12:46:05 -02:00
parent e320790154
commit ad20689feb
2 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.h,v 2.10 2013/05/06 17:19:11 roberto Exp roberto $
** $Id: ldebug.h,v 2.11 2014/02/25 14:31:16 roberto Exp roberto $
** Auxiliary functions from Debug Interface module
** See Copyright Notice in lua.h
*/
@@ -25,8 +25,9 @@ LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
const char *opname);
LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1,
const TValue *p2);
LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1,
const TValue *p2);
LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1,
const TValue *p2,
const char *msg);
LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1,
const TValue *p2);
LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,