[ruby-cvs:52783] nobu:r45637 (trunk): parse.y: allow parenthesed do-block in cmdarg

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Apr 19 15:38:31 JST 2014


nobu	2014-04-19 15:38:31 +0900 (Sat, 19 Apr 2014)

  New Revision: 45637

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45637

  Log:
    parse.y: allow parenthesed do-block in cmdarg
    
    * parse.y (primary): flush cmdarg flags inside left-paren in a
      command argument, to allow parenthesed do-block as an argument
      without arguments parentheses.  [ruby-core:61950] [Bug #9726]

  Modified files:
    trunk/ChangeLog
    trunk/parse.y
    trunk/test/ruby/test_syntax.rb


More information about the ruby-cvs mailing list