[ruby-cvs:50225] nobu:r43083 (trunk): parse.y: fix inconsistency with literals

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Sep 29 22:56:34 JST 2013


nobu	2013-09-29 22:56:33 +0900 (Sun, 29 Sep 2013)

  New Revision: 43083

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

  Log:
    parse.y: fix inconsistency with literals
    
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/ext/-test-/symbol/type.c
    trunk/parse.y
    trunk/test/-ext-/symbol/test_type.rb


More information about the ruby-cvs mailing list