[前][次][番号順一覧][スレッド一覧]

ruby-changes:56520

From: Yusuke <ko1@a...>
Date: Mon, 15 Jul 2019 07:57:34 +0900 (JST)
Subject: [ruby-changes:56520] Yusuke Endoh: 772dae8bef (master): Add a /* fall through */ comment

https://git.ruby-lang.org/ruby.git/commit/?id=772dae8bef

From 772dae8bef36e3111b8e03fc6297cc99a959ae4b Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 15 Jul 2019 07:56:53 +0900
Subject: Add a /* fall through */ comment


diff --git a/compile.c b/compile.c
index 9cba0b5..c2f14a9 100644
--- a/compile.c
+++ b/compile.c
@@ -4483,6 +4483,7 @@ defined_expr0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, https://github.com/ruby/ruby/blob/trunk/compile.c#L4483
             ADD_INSNL(ret, line, branchunless, lfinish[1]);
 	} while ((vals = vals->nd_next) != NULL);
       }
+        /* fall through */
       case NODE_STR:
       case NODE_LIT:
       case NODE_ZARRAY:
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]