Project

General

Profile

« Previous | Next » 

Revision 046c9438

Added by nobu (Nobuyoshi Nakada) over 8 years ago

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]

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