Skip to content

Commit

Permalink
+ Fix to pass test_lambda_args_block__19 test. (mrmargolis)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 6851]
  • Loading branch information
zenspider committed Dec 24, 2011
1 parent 45131d7 commit de9b7e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ruby19_parser.y
Expand Up @@ -1213,6 +1213,11 @@ rule
result = val[1]
self.lexer.command_start = true
}
| tPIPE tAMPER block_var tPIPE
{
result = s(:lasgn, :"&block")
self.lexer.command_start = true
}

do_block: kDO_BLOCK
{
Expand Down

0 comments on commit de9b7e2

Please sign in to comment.