diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-15 05:55:08 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-15 05:55:08 +0000 |
commit | 6159a1df5f7adc877ffd4d16a932928635ee66c1 (patch) | |
tree | 7a74298ac270203e2ee54a9051a27e708cebc158 | |
parent | 50ef1251986f0017338afcbfa3719dde734e96d3 (diff) | |
download | ruby-6159a1df5f7adc877ffd4d16a932928635ee66c1.tar.gz |
node.c: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | node.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -227,11 +227,11 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node) return; case NODE_WHEN: - ANN("if statement"); + ANN("when clause"); ANN("format: when [nd_head]; [nd_body]; (when or else) [nd_next]"); ANN("example: case x; when 1; foo; when 2; bar; else baz; end"); F_NODE(nd_head, "when value"); - F_NODE(nd_body, "when clause"); + F_NODE(nd_body, "when body"); LAST_NODE; F_NODE(nd_next, "next when clause"); return; @@ -271,7 +271,7 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node) return; case NODE_BREAK: - ANN("for statement"); + ANN("break statement"); ANN("format: break [nd_stts]"); ANN("example: break 1"); goto jump; |