diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-10 12:46:05 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-10 12:46:05 -0200 |
| commit | ad20689febfe15e20c9bce6bb74459f169499524 (patch) | |
| tree | 35ea80b8a81e86e375b8cc57444919dbcc7f8137 /ldebug.h | |
| parent | e32079015495f01e470b285a9a1f09552ab5c615 (diff) | |
| download | lua-ad20689febfe15e20c9bce6bb74459f169499524.tar.gz lua-ad20689febfe15e20c9bce6bb74459f169499524.tar.bz2 lua-ad20689febfe15e20c9bce6bb74459f169499524.zip | |
better error message for bitwise operators (they are not arithmetic...)
Diffstat (limited to 'ldebug.h')
| -rw-r--r-- | ldebug.h | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.h,v 2.10 2013/05/06 17:19:11 roberto Exp roberto $ | 2 | ** $Id: ldebug.h,v 2.11 2014/02/25 14:31:16 roberto Exp roberto $ |
| 3 | ** Auxiliary functions from Debug Interface module | 3 | ** Auxiliary functions from Debug Interface module |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -25,8 +25,9 @@ LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, | |||
| 25 | const char *opname); | 25 | const char *opname); |
| 26 | LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, | 26 | LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, |
| 27 | const TValue *p2); | 27 | const TValue *p2); |
| 28 | LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1, | 28 | LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1, |
| 29 | const TValue *p2); | 29 | const TValue *p2, |
| 30 | const char *msg); | ||
| 30 | LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1, | 31 | LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1, |
| 31 | const TValue *p2); | 32 | const TValue *p2); |
| 32 | LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1, | 33 | LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1, |
