summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-20 14:40:56 +0000
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-20 14:40:56 +0000
commit2235695cbb8c2073098385e44d2b448d85d685a0 (patch)
tree7101c5555054952f08ed904401d661ede34a5364 /compile.c
parent7010dc6f68e6c1f090cd7f1f5de83f3aa1d07657 (diff)
downloadruby-2235695cbb8c2073098385e44d2b448d85d685a0.tar.gz
compile.c: Fix a typo
* compile.c (compile_branch_condition): NODE_LIT is always true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index f7badf5a76..f246ce9eaa 100644
--- a/compile.c
+++ b/compile.c
@@ -2876,7 +2876,7 @@ compile_branch_condition(rb_iseq_t *iseq, LINK_ANCHOR *const ret, NODE *cond,
else_label);
break;
}
- case NODE_LIT: /* NODE_LIT is always not true */
+ case NODE_LIT: /* NODE_LIT is always true */
case NODE_TRUE:
case NODE_STR:
case NODE_DSTR: