summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-10 00:23:23 +0000
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-10 00:23:23 +0000
commit59a571d14cd4a03d21bfa949766289dfeae4ef4c (patch)
treedc1f9b0305fc2d1452bead868eb6ed0ca4c8710c /node.c
parent6e06d6440bc91dff08fdd7f07181468ebb1b39b3 (diff)
node.c: Fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r--node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.c b/node.c
index d41b330b5c..d025eccf62 100644
--- a/node.c
+++ b/node.c
@@ -760,7 +760,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
case NODE_DEFN:
ANN("method definition");
ANN("format: def [nd_mid] [nd_defn]; end");
- ANN("example; def foo; bar; end");
+ ANN("example: def foo; bar; end");
F_ID(nd_mid, "method name");
LAST_NODE;
F_NODE(nd_defn, "method definition");
@@ -769,7 +769,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
case NODE_DEFS:
ANN("singleton method definition");
ANN("format: def [nd_recv].[nd_mid] [nd_defn]; end");
- ANN("example; def obj.foo; bar; end");
+ ANN("example: def obj.foo; bar; end");
F_NODE(nd_recv, "receiver");
F_ID(nd_mid, "method name");
LAST_NODE;