浏览代码

comment (FALLTHROUGH position)

Roberto Ierusalimschy 10 年之前
父节点
当前提交
cbef15f3ea
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ltable.c

+ 3 - 3
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 */