lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2015-06-03 15:42 GMT+02:00 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> Lua 5.3.1 (rc1) is now available at
>         http://www.lua.org/work/
>
>         lua-5.3.1-rc1.tar.gz
> MD5     22dce36750138ae43bff51cba184cad1  -
> SHA1    b0c84146fbb84a8409ff2b1011521519995a069f  -
>
> Lua 5.3.1 fixes all bugs listed in http://www.lua.org/bugs.html#5.3.0 .
>
> Like all minor releases, this is strictly a bug-fix release;
> no new features or improvements have been added.
>
> The complete diffs from lua-5.3.0 are available at
>         http://www.lua.org/work/diffs-lua-5.3.0-lua-5.3.1-rc1.txt
>         http://www.lua.org/work/diffs-lua-5.3.0-lua-5.3.1-rc1.html
>
> The diffs are also available in unified format:
>         http://www.lua.org/work/diffu-lua-5.3.0-lua-5.3.1-rc1.txt
>         http://www.lua.org/work/diffu-lua-5.3.0-lua-5.3.1-rc1.html
>
> We thank everyone for their feedback on Lua 5.3 till now.
>
> All feedback welcome. Thanks.

By linting, I found a minor problem (see fix in attached patch) with a
FALLTROUGH comment.

François


> --lhf
>
FALLTHROUGH outside the block

--- a/src/ltable.c
+++ b/src/ltable.c
@@ -551,8 +551,7 @@ 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 */