comment (FALLTHROUGH)

This commit is contained in:
Roberto Ierusalimschy 2016-05-13 16:09:46 -03:00
parent f3b52a6061
commit fbd8614bdb
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
** $Id: lcode.c,v 2.107 2016/01/04 13:40:57 roberto Exp roberto $
** $Id: lcode.c,v 2.108 2016/01/05 16:22:37 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@ -1065,7 +1065,7 @@ void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e, int line) {
case OPR_MINUS: case OPR_BNOT:
if (constfolding(fs, op + LUA_OPUNM, e, &ef))
break;
/* else go through */
/* FALLTHROUGH */
case OPR_LEN:
codeunexpval(fs, cast(OpCode, op + OP_UNM), e, line);
break;

View File

@ -1,5 +1,5 @@
/*
** $Id: lstrlib.c,v 1.247 2016/04/22 16:36:30 roberto Exp roberto $
** $Id: lstrlib.c,v 1.248 2016/05/02 13:58:01 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@ -958,8 +958,8 @@ static void addliteral (lua_State *L, luaL_Buffer *b, int arg) {
addliteralnum(L, b, lua_tonumber(L, arg));
break;
}
/* else integers; write in "native" format *//* FALLTHROUGH */
}
/* else integers; write in "native" format */
} /* FALLTHROUGH */
case LUA_TNIL: case LUA_TBOOLEAN: {
luaL_tolstring(L, arg, NULL);
luaL_addvalue(b);