ruby-changes:30396
From: ktsj <ko1@a...>
Date: Sat, 10 Aug 2013 00:27:46 +0900 (JST)
Subject: [ruby-changes:30396] ktsj:r42475 (trunk): * ext/readline/readline.c (insert_ignore_escape): suppress
ktsj 2013-08-10 00:27:41 +0900 (Sat, 10 Aug 2013) New Revision: 42475 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42475 Log: * ext/readline/readline.c (insert_ignore_escape): suppress logical-op-parentheses warning. Modified files: trunk/ext/readline/readline.c Index: ext/readline/readline.c =================================================================== --- ext/readline/readline.c (revision 42474) +++ ext/readline/readline.c (revision 42475) @@ -251,7 +251,7 @@ insert_ignore_escape(VALUE self, VALUE p https://github.com/ruby/ruby/blob/trunk/ext/readline/readline.c#L251 s0 = s; break; } - else if (!('0' <= *s && *s <= '9' || *s == ';')) { + else if (!(('0' <= *s && *s <= '9') || *s == ';')) { break; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/