summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-05 14:16:52 +0000
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-05 14:16:52 +0000
commit48d61170a2d23ae7b0040800480e3f89254bcce8 (patch)
tree96107440c00d8e29537e69b12642f9badc3355e2
parent93254f4a4195ed4644d1bfa5f703a95c9865f243 (diff)
node.c: Fix a typo
* node.c (dump_node): Fix a typo of || operator example git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index 1fe4784..83b51e6 100644
--- a/node.c
+++ b/node.c
@@ -332,7 +332,7 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
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;