comment (FALLTHROUGH position)

This commit is contained in:
Roberto Ierusalimschy 2015-06-09 11:21:13 -03:00
parent 16e8bb360b
commit cbef15f3ea
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
** $Id: ltable.c,v 2.109 2015/04/02 21:09:51 roberto Exp roberto $
** $Id: ltable.c,v 2.110 2015/05/20 16:22:30 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@ -551,8 +551,8 @@ const TValue *luaH_get (Table *t, const TValue *key) {
lua_Integer k;
if (luaV_tointeger(key, &k, 0)) /* index is int? */
return luaH_getint(t, k); /* use specialized version */
/* else *//* FALLTHROUGH */
}
/* else... */
} /* FALLTHROUGH */
default: {
Node *n = mainposition(t, key);
for (;;) { /* check whether 'key' is somewhere in the chain */