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

ruby-changes:56514

From: Yusuke <ko1@a...>
Date: Mon, 15 Jul 2019 01:05:57 +0900 (JST)
Subject: [ruby-changes:56514] Yusuke Endoh: 09187c64b8 (master): Add a /* fall through */ comment

https://git.ruby-lang.org/ruby.git/commit/?id=09187c64b8

From 09187c64b8dcea6a6ed6134e939a2e0ca88a2bd6 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 15 Jul 2019 00:10:39 +0900
Subject: Add a /* fall through */ comment


diff --git a/compile.c b/compile.c
index 2bee4b8..28691fb 100644
--- a/compile.c
+++ b/compile.c
@@ -6919,6 +6919,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, in https://github.com/ruby/ruby/blob/trunk/compile.c#L6919
 	    break;
 	  case NODE_BLOCK_PASS:
 	    boff = 1;
+            /* fall through */
 	  default:
 	    INIT_ANCHOR(args);
 	    argc = setup_args(iseq, args, node->nd_args->nd_head, &flag, NULL);
-- 
cgit v0.10.2


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

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