[前][次][番号順一覧][スレッド一覧]

ruby-changes:51179

From: yui-knk <ko1@a...>
Date: Thu, 10 May 2018 09:23:29 +0900 (JST)
Subject: [ruby-changes:51179] yui-knk:r63386 (trunk): node.c: Fix typos

yui-knk	2018-05-10 09:23:23 +0900 (Thu, 10 May 2018)

  New Revision: 63386

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63386

  Log:
    node.c: Fix typos

  Modified files:
    trunk/node.c
Index: node.c
===================================================================
--- node.c	(revision 63385)
+++ node.c	(revision 63386)
@@ -760,7 +760,7 @@ dump_node(VALUE buf, VALUE indent, int c https://github.com/ruby/ruby/blob/trunk/node.c#L760
       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 c https://github.com/ruby/ruby/blob/trunk/node.c#L769
       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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]