mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
30930ba050
commit
d11fbf43c2
1 changed files with 1 additions and 1 deletions
2
node.c
2
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");
|
||||
|
|
Loading…
Reference in a new issue