[ruby-cvs:66666] nagachika:r59488 (ruby_2_4): merge revision(s) 58503: [Backport #13523]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Thu Aug 3 22:29:12 JST 2017


nagachika	2017-08-03 22:29:12 +0900 (Thu, 03 Aug 2017)

  New Revision: 59488

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

  Log:
    merge revision(s) 58503: [Backport #13523]
    
    node.h: sign-extend
    
    * node.h (nd_line): should sign-extend.  shifting `VALUE` extends
      with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`.  the
      zero bits are truncated if `sizeof(VALUE)` is bigger enough.
      [ruby-core:80920] [Bug #13523]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/node.h
    branches/ruby_2_4/test/ruby/test_parse.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list