[ruby-cvs:66598] nobu:r59420 (trunk): parse.y: brace after array literal arg

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jul 26 09:56:45 JST 2017

nobu	2017-07-26 09:56:44 +0900 (Wed, 26 Jul 2017)

  New Revision: 59420


    parse.y: brace after array literal arg
    * parse.y (parser_yylex): array is another literal.  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 files:

More information about the ruby-cvs mailing list