mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
7010dc6f68
commit
2235695cbb
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue