aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-03-16 11:22:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-03-16 11:22:09 -0300
commit0c7738240ef81b88ded842e3a8ebfb3180bcf00c (patch)
tree6472e77d6591df2c003d6e2c7c0a5b612eac6d8e /lgc.c
parent7b0b6b3b3945b1adcf460321227243143d7e1543 (diff)
downloadlua-0c7738240ef81b88ded842e3a8ebfb3180bcf00c.tar.gz
lua-0c7738240ef81b88ded842e3a8ebfb3180bcf00c.tar.bz2
lua-0c7738240ef81b88ded842e3a8ebfb3180bcf00c.zip
FALLTHROUGH comment must be last "statement"
(so it does not work when inside a block)
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lgc.c b/lgc.c
index 9da0f498..2e401cbd 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 2.251 2018/02/23 13:21:27 roberto Exp roberto $ 2** $Id: lgc.c,v 2.252 2018/02/26 13:35:03 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -301,8 +301,8 @@ static void reallymarkobject (global_State *g, GCObject *o) {
301 gray2black(o); /* nothing else to mark */ 301 gray2black(o); /* nothing else to mark */
302 break; 302 break;
303 } 303 }
304 /* else *//* FALLTHROUGH */ 304 /* else... */
305 } 305 } /* FALLTHROUGH */
306 case LUA_TLCL: case LUA_TCCL: case LUA_TTABLE: 306 case LUA_TLCL: case LUA_TCCL: case LUA_TTABLE:
307 case LUA_TTHREAD: case LUA_TPROTO: { 307 case LUA_TTHREAD: case LUA_TPROTO: {
308 linkobjgclist(o, g->gray); 308 linkobjgclist(o, g->gray);