summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2016-05-13 16:09:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2016-05-13 16:09:46 -0300
commitfbd8614bdb92199520bef10a8e020662bc94222b (patch)
tree8d60c3b958e4314bbaaf2c7b9cdb3e12f1269ad7
parentf3b52a606169b09b32ed172f95276c6735f5ce54 (diff)
downloadlua-fbd8614bdb92199520bef10a8e020662bc94222b.tar.gz
lua-fbd8614bdb92199520bef10a8e020662bc94222b.tar.bz2
lua-fbd8614bdb92199520bef10a8e020662bc94222b.zip
comment (FALLTHROUGH)
-rw-r--r--lcode.c4
-rw-r--r--lstrlib.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/lcode.c b/lcode.c
index 06646e76..760d7304 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.107 2016/01/04 13:40:57 roberto Exp roberto $ 2** $Id: lcode.c,v 2.108 2016/01/05 16:22:37 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -1065,7 +1065,7 @@ void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e, int line) {
1065 case OPR_MINUS: case OPR_BNOT: 1065 case OPR_MINUS: case OPR_BNOT:
1066 if (constfolding(fs, op + LUA_OPUNM, e, &ef)) 1066 if (constfolding(fs, op + LUA_OPUNM, e, &ef))
1067 break; 1067 break;
1068 /* else go through */ 1068 /* FALLTHROUGH */
1069 case OPR_LEN: 1069 case OPR_LEN:
1070 codeunexpval(fs, cast(OpCode, op + OP_UNM), e, line); 1070 codeunexpval(fs, cast(OpCode, op + OP_UNM), e, line);
1071 break; 1071 break;
diff --git a/lstrlib.c b/lstrlib.c
index 8a99a011..06f688a9 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.247 2016/04/22 16:36:30 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.248 2016/05/02 13:58:01 roberto Exp roberto $
3** Standard library for string operations and pattern-matching 3** Standard library for string operations and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -958,8 +958,8 @@ static void addliteral (lua_State *L, luaL_Buffer *b, int arg) {
958 addliteralnum(L, b, lua_tonumber(L, arg)); 958 addliteralnum(L, b, lua_tonumber(L, arg));
959 break; 959 break;
960 } 960 }
961 /* else integers; write in "native" format *//* FALLTHROUGH */ 961 /* else integers; write in "native" format */
962 } 962 } /* FALLTHROUGH */
963 case LUA_TNIL: case LUA_TBOOLEAN: { 963 case LUA_TNIL: case LUA_TBOOLEAN: {
964 luaL_tolstring(L, arg, NULL); 964 luaL_tolstring(L, arg, NULL);
965 luaL_addvalue(b); 965 luaL_addvalue(b);