[ruby-cvs:52059] nagachika:r44911 (ruby_2_0_0): merge revision(s) r42479, r42490, r42509, r43083, r43084, r43085: [Backport #8756] [Backport #9248]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Tue Feb 11 23:55:01 JST 2014


nagachika	2014-02-11 23:55:00 +0900 (Tue, 11 Feb 2014)

  New Revision: 44911

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

  Log:
    merge revision(s) r42479,r42490,r42509,r43083,r43084,r43085: [Backport #8756] [Backport #9248]
    
    * parse.y (rb_enc_symname_type): allow ID_ATTRSET for ID_INSTANCE,
      ID_GLOBAL, ID_CLASS, ID_JUNK too.  [Bug #8756]
    
    * parse.y (rb_id_attrset): fix inconsistency with literals, allow
      ID_ATTRSET and return it itself, but ID_JUNK cannot make ID_ATTRSET.
      and raise a NameError instead of rb_bug() for invalid argument.
    
    * parse.y (rb_id_attrset, intern_str): allow junk attrset ID for
      Struct.
    
    * parse.y (rb_id_attrset): check if the argument is valid type as an
      attribute.
    
    * parse.y (rb_id_attrset): allow other than ID_ATTRSET.
    
    * parse.y (intern_str): ditto.  try stem ID for ID_INSTANCE,
      ID_GLOBAL, ID_CLASS, ID_JUNK too.  [Bug #8756]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/ext/-test-/symbol/type.c
    branches/ruby_2_0_0/parse.y
    branches/ruby_2_0_0/test/-ext-/symbol/test_type.rb
    branches/ruby_2_0_0/test/ruby/test_struct.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list