diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.109 2015/04/02 21:09:51 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.110 2015/05/20 16:22:30 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 | */ |
@@ -551,8 +551,8 @@ const TValue *luaH_get (Table *t, const TValue *key) { | |||
551 | lua_Integer k; | 551 | lua_Integer k; |
552 | if (luaV_tointeger(key, &k, 0)) /* index is int? */ | 552 | if (luaV_tointeger(key, &k, 0)) /* index is int? */ |
553 | return luaH_getint(t, k); /* use specialized version */ | 553 | return luaH_getint(t, k); /* use specialized version */ |
554 | /* else *//* FALLTHROUGH */ | 554 | /* else... */ |
555 | } | 555 | } /* FALLTHROUGH */ |
556 | default: { | 556 | default: { |
557 | Node *n = mainposition(t, key); | 557 | Node *n = mainposition(t, key); |
558 | for (;;) { /* check whether 'key' is somewhere in the chain */ | 558 | for (;;) { /* check whether 'key' is somewhere in the chain */ |