ruby-changes:56511
From: Yusuke <ko1@a...>
Date: Mon, 15 Jul 2019 00:31:02 +0900 (JST)
Subject: [ruby-changes:56511] Yusuke Endoh: 9e3971c3ad (master): Add a /* fall through */ comment
https://git.ruby-lang.org/ruby.git/commit/?id=9e3971c3ad From 9e3971c3ade4a2fd5c5d3123f9437fa3af352655 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Mon, 15 Jul 2019 00:29:56 +0900 Subject: Add a /* fall through */ comment diff --git a/parse.y b/parse.y index e1cd201..e006aba 100644 --- a/parse.y +++ b/parse.y @@ -9896,6 +9896,7 @@ new_regexp(struct parser_params *p, NODE *node, int options, const YYLTYPE *loc) https://github.com/ruby/ruby/blob/trunk/parse.y#L9896 default: add_mark_object(p, lit = STR_NEW0()); node = NEW_NODE(NODE_DSTR, lit, 1, NEW_LIST(node, loc), loc); + /* fall through */ case NODE_DSTR: nd_set_type(node, NODE_DREGX); nd_set_loc(node, loc); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/