summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-15 05:55:09 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-15 05:55:09 +0000
commitd11fbf43c2b9b96b0e087e931f6043f64928ca58 (patch)
tree269240598d29a3b4286422c02dd2c2b945a79604 /node.c
parent30930ba0503ce8d22df79082d2b6fcebe8312301 (diff)
node.c: add more comment to NODE_CASE2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index e3cf8f0d9a..698b73e6b3 100644
--- a/node.c
+++ b/node.c
@@ -218,7 +218,7 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
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");