1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix the format of NODE_IN node

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yui-knk 2019-04-17 07:15:08 +00:00
parent 5141398ff0
commit bd698312fa

2
node.c
View file

@ -216,7 +216,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
case NODE_IN:
ANN("in clause");
ANN("format: in [nd_head]; [nd_body]; (when or else) [nd_next]");
ANN("format: in [nd_head]; [nd_body]; (in or else) [nd_next]");
ANN("example: case x; in 1; foo; in 2; bar; else baz; end");
F_NODE(nd_head, "in value");
F_NODE(nd_body, "in body");