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

ruby-changes:45467

From: yui-knk <ko1@a...>
Date: Sun, 5 Feb 2017 23:16:56 +0900 (JST)
Subject: [ruby-changes:45467] yui-knk:r57540 (trunk): node.c: Fix a typo

yui-knk	2017-02-05 23:16:52 +0900 (Sun, 05 Feb 2017)

  New Revision: 57540

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

  Log:
    node.c: Fix a typo
    
    * node.c (dump_node): Fix a typo of || operator example

  Modified files:
    trunk/node.c
Index: node.c
===================================================================
--- node.c	(revision 57539)
+++ node.c	(revision 57540)
@@ -332,7 +332,7 @@ dump_node(VALUE buf, VALUE indent, int c https://github.com/ruby/ruby/blob/trunk/node.c#L332
       case NODE_OR:
 	ANN("|| operator");
 	ANN("format: [nd_1st] || [nd_2nd]");
-	ANN("example: foo && bar");
+	ANN("example: foo || bar");
       andor:
 	F_NODE(nd_1st, "left expr");
 	LAST_NODE;

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

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