mirror of https://github.com/rusefi/lua.git
comment (FALLTHROUGH)
This commit is contained in:
parent
f3b52a6061
commit
fbd8614bdb
4
lcode.c
4
lcode.c
|
@ -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
|
** Code generator for Lua
|
||||||
** See Copyright Notice in lua.h
|
** 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:
|
case OPR_MINUS: case OPR_BNOT:
|
||||||
if (constfolding(fs, op + LUA_OPUNM, e, &ef))
|
if (constfolding(fs, op + LUA_OPUNM, e, &ef))
|
||||||
break;
|
break;
|
||||||
/* else go through */
|
/* FALLTHROUGH */
|
||||||
case OPR_LEN:
|
case OPR_LEN:
|
||||||
codeunexpval(fs, cast(OpCode, op + OP_UNM), e, line);
|
codeunexpval(fs, cast(OpCode, op + OP_UNM), e, line);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -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
|
** Standard library for string operations and pattern-matching
|
||||||
** See Copyright Notice in lua.h
|
** 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));
|
addliteralnum(L, b, lua_tonumber(L, arg));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* else integers; write in "native" format *//* FALLTHROUGH */
|
/* else integers; write in "native" format */
|
||||||
}
|
} /* FALLTHROUGH */
|
||||||
case LUA_TNIL: case LUA_TBOOLEAN: {
|
case LUA_TNIL: case LUA_TBOOLEAN: {
|
||||||
luaL_tolstring(L, arg, NULL);
|
luaL_tolstring(L, arg, NULL);
|
||||||
luaL_addvalue(b);
|
luaL_addvalue(b);
|
||||||
|
|
Loading…
Reference in New Issue