no more 'L' in macros "luai_num*" (several places that use those macros

cannot throw errors anyway...)
This commit is contained in:
Roberto Ierusalimschy
2014-01-27 11:34:32 -02:00
parent 67c5de9283
commit 86dd8bf3f5
6 changed files with 40 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltable.c,v 2.82 2013/08/29 13:49:57 roberto Exp roberto $
** $Id: ltable.c,v 2.83 2013/09/11 12:26:14 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -421,7 +421,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
else if (ttisfloat(key)) {
lua_Number n = fltvalue(key);
lua_Integer k;
if (luai_numisnan(L, n))
if (luai_numisnan(n))
luaG_runerror(L, "table index is NaN");
if (numisinteger(n, &k)) { /* index is int? */
setivalue(&aux, k);