diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-01-27 11:34:32 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-01-27 11:34:32 -0200 |
commit | 86dd8bf3f58f118003d4b02773be08b68a5091ef (patch) | |
tree | 024776667a483fe4ed319f77ae050968a2f12a7b /ltable.c | |
parent | 67c5de928349bfff6ed8b4ae5ed1abe05abcb08e (diff) | |
download | lua-86dd8bf3f58f118003d4b02773be08b68a5091ef.tar.gz lua-86dd8bf3f58f118003d4b02773be08b68a5091ef.tar.bz2 lua-86dd8bf3f58f118003d4b02773be08b68a5091ef.zip |
no more 'L' in macros "luai_num*" (several places that use those macros
cannot throw errors anyway...)
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.82 2013/08/29 13:49:57 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.83 2013/09/11 12:26:14 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -421,7 +421,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { | |||
421 | else if (ttisfloat(key)) { | 421 | else if (ttisfloat(key)) { |
422 | lua_Number n = fltvalue(key); | 422 | lua_Number n = fltvalue(key); |
423 | lua_Integer k; | 423 | lua_Integer k; |
424 | if (luai_numisnan(L, n)) | 424 | if (luai_numisnan(n)) |
425 | luaG_runerror(L, "table index is NaN"); | 425 | luaG_runerror(L, "table index is NaN"); |
426 | if (numisinteger(n, &k)) { /* index is int? */ | 426 | if (numisinteger(n, &k)) { /* index is int? */ |
427 | setivalue(&aux, k); | 427 | setivalue(&aux, k); |