aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
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
commitb80f60fffb11e2516ac1c69d8e223eafa74120a9 (patch)
tree96107440c00d8e29537e69b12642f9badc3355e2 /node.c
parent2e548349dca17b1ea67696347eb92cf5e2936ae0 (diff)
downloadruby-b80f60fffb11e2516ac1c69d8e223eafa74120a9.tar.gz
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
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index 1fe47844da..83b51e6a60 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;