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

ruby-changes:56486

From: Yusuke <ko1@a...>
Date: Sun, 14 Jul 2019 21:35:06 +0900 (JST)
Subject: [ruby-changes:56486] Yusuke Endoh: 20a3fb3c4b (master): Add a /* fall through */ comment

https://git.ruby-lang.org/ruby.git/commit/?id=20a3fb3c4b

From 20a3fb3c4b7c564ee7809ac1ed036b4874e47e26 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Sun, 14 Jul 2019 21:34:32 +0900
Subject: Add a /* fall through */ comment


diff --git a/parse.y b/parse.y
index 7445e4a..e1cd201 100644
--- a/parse.y
+++ b/parse.y
@@ -8428,6 +8428,7 @@ parse_gvar(struct parser_params *p, const enum lex_state_e last_state) https://github.com/ruby/ruby/blob/trunk/parse.y#L8428
 	    set_yylval_noname();
 	    return tGVAR;
 	}
+	/* fall through */
       case '0':
 	tokadd(p, '$');
     }
-- 
cgit v0.10.2


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

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