mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/readline/readline.c (insert_ignore_escape): suppress
logical-op-parentheses warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8152750145
commit
eca115c34b
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ insert_ignore_escape(VALUE self, VALUE prompt)
|
|||
s0 = s;
|
||||
break;
|
||||
}
|
||||
else if (!('0' <= *s && *s <= '9' || *s == ';')) {
|
||||
else if (!(('0' <= *s && *s <= '9') || *s == ';')) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue