ruby-changes:49155
From: mame <ko1@a...>
Date: Fri, 15 Dec 2017 14:55:16 +0900 (JST)
Subject: [ruby-changes:49155] mame:r61271 (trunk): node.c: add more comment to NODE_CASE2
mame 2017-12-15 14:55:09 +0900 (Fri, 15 Dec 2017) New Revision: 61271 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61271 Log: node.c: add more comment to NODE_CASE2 Modified files: trunk/node.c Index: node.c =================================================================== --- node.c (revision 61270) +++ node.c (revision 61271) @@ -218,7 +218,7 @@ dump_node(VALUE buf, VALUE indent, int c https://github.com/ruby/ruby/blob/trunk/node.c#L218 F_NODE(nd_body, "when clauses"); return; case NODE_CASE2: - ANN("case statement"); + ANN("case statement with no head"); ANN("format: case; [nd_body]; end"); ANN("example: case; when 1; foo; when 2; bar; else baz; end"); F_NODE(nd_head, "case expr"); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/