[ruby-cvs:66584] nagachika:r59406 (ruby_2_4): merge revision(s) 58638, 58640: [Backport #11873]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Jul 23 17:15:57 JST 2017


nagachika	2017-07-23 17:15:57 +0900 (Sun, 23 Jul 2017)

  New Revision: 59406

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

  Log:
    merge revision(s) 58638,58640: [Backport #11873]
    
    test_syntax.rb: test_brace_after_local_variable
    
    * test/ruby/test_syntax.rb (test_brace_after_local_variable):
      another test using braces.  [Bug #11873]
    parse.y: do after cmdarg in paren
    
    * parse.y (parser_yylex): set state to ENDARG after a string
      literal, so that `do` after a literal should be `do_block` and
      bound to the outer method, as well as a numeric/symbol literal.
      [ruby-core:72482] [Bug #11873]

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


More information about the ruby-cvs mailing list