[ruby-cvs:70548] nobu:r63457 (trunk): parse.y: relax literal in condition warnings

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 18 09:36:24 JST 2018


nobu	2018-05-18 09:36:24 +0900 (Fri, 18 May 2018)

  New Revision: 63457

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63457

  Log:
    parse.y: relax literal in condition warnings
    
    * parse.y (cond0): do not warn literal boolean (true and false) in
      condition expressions, as they are often used as infinite loops,
      deactivated code block, etc.

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list