summaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-06-09 11:21:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-06-09 11:21:13 -0300
commitcbef15f3ea81a925abdcc11bf5870f3f0f1ce1cb (patch)
tree85602574c6e920e767b0053f67caa1818637ecc9 /ltable.c
parent16e8bb360bb9b26f501808cf3e738a636ee5f11e (diff)
downloadlua-github-cbef15f3ea81a925abdcc11bf5870f3f0f1ce1cb.tar.gz
comment (FALLTHROUGH position)
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltable.c b/ltable.c
index 4dc8ea4c..516eaa4c 100644
--- a/ltable.c
+++ b/ltable.c
@@ -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 */