[ruby-cvs:59273] nobu:r52122 (trunk): parse.y: fix ripper warnings

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Oct 14 13:58:48 JST 2015


nobu	2015-10-14 13:58:47 +0900 (Wed, 14 Oct 2015)

  New Revision: 52122

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

  Log:
    parse.y: fix ripper warnings
    
    * parse.y (parser_nextc): send a warning to ripper, not to STDERR
      always.
    * parse.y (rb_warn1, rb_warning1): move argument conversions to
      callers.  PRIsVALUE is not valid in String#%.

  Modified files:
    trunk/ChangeLog
    trunk/parse.y
    trunk/test/ripper/test_parser_events.rb


More information about the ruby-cvs mailing list