[ruby-cvs:50130] nobu:r42988 (trunk): parse.y: junk sigil only names

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Sep 20 15:01:58 JST 2013


nobu	2013-09-20 15:01:57 +0900 (Fri, 20 Sep 2013)

  New Revision: 42988

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

  Log:
    parse.y: junk sigil only names
    
    * parse.y (intern_str): sigil only names are junk, at least one
      identifier character is needed.  [ruby-dev:47723] [Bug #8928]
    * parse.y (rb_enc_symname_type): fix out of bound access.

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


More information about the ruby-cvs mailing list