[ruby-cvs:66587] nagachika:r59409 (ruby_2_4): merge revision(s) 58641: [Backport #13547]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Jul 23 17:59:07 JST 2017


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

  New Revision: 59409

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

  Log:
    merge revision(s) 58641: [Backport #13547]
    
    parse.y: brace after literal arg
    
    * parse.y (symbol, dsym, parser_set_number_literal, parser_yylex):
      set state to END too not only ENDARG and after a literal, so
      that a left brace after it should be a primary block bound to
      the literal, which causes syntax error.
      [ruby-core:81037] [Bug #13547]

  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