[ruby-cvs:61838] usa:r54676 (ruby_2_2): merge revision(s) 53834, 53835, 53836: [Backport #12073]

usa at ruby-lang.org usa at ruby-lang.org
Fri Apr 22 14:51:15 JST 2016


usa	2016-04-22 14:51:15 +0900 (Fri, 22 Apr 2016)

  New Revision: 54676

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

  Log:
    merge revision(s) 53834,53835,53836: [Backport #12073]
    
    parse.y: simplify local ID condition
    
    * parse.y (tokenize_ident, parse_ident): ident in tokenize_ident()
      can be a local id only when called from parse_ident(), but never
      from parse_gvar() and parse_atmark().
    * parse.y (parse_ident): allow keyword arguments just after a
      method where the same name local variable is defined.
      [ruby-core:73816] [Bug#12073]

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/parse.y
    branches/ruby_2_2/test/ruby/test_syntax.rb
    branches/ruby_2_2/version.h


More information about the ruby-cvs mailing list