correct error message for conversion errors from float to int

This commit is contained in:
Roberto Ierusalimschy
2013-05-06 14:21:59 -03:00
parent 2b1c2c61b0
commit f2043b7a58
3 changed files with 26 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.h,v 2.8 2013/04/25 15:59:42 roberto Exp roberto $
** $Id: ldebug.h,v 2.9 2013/04/29 16:58:10 roberto Exp roberto $
** Auxiliary functions from Debug Interface module
** See Copyright Notice in lua.h
*/
@@ -27,6 +27,8 @@ 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_tointerror (lua_State *L, const TValue *p1,
const TValue *p2);
LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
const TValue *p2);
LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);