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

Fix description of NODE_IN

This commit is contained in:
Kazuki Tsujimoto 2019-04-27 12:55:32 +09:00
parent 7fe04850d2
commit bc01f7b721
No known key found for this signature in database
GPG key ID: BCEA306C49B81CD7

2
node.c
View file

@ -218,7 +218,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
ANN("in clause");
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_head, "in pattern");
F_NODE(nd_body, "in body");
LAST_NODE;
F_NODE(nd_next, "next in clause");