Project

General

Profile

« Previous | Next » 

Revision 99871095

Added by nobu (Nobuyoshi Nakada) almost 7 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e