Permalink
Browse files

+ Fix to pass test_lambda_args_block__19 test. (mrmargolis)

[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 6851]
  • Loading branch information...
1 parent 45131d7 commit de9b7e2d51227a1a647db282b73f9ec45d5e9274 @zenspider zenspider committed Dec 24, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/ruby19_parser.y
View
@@ -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
{

0 comments on commit de9b7e2

Please sign in to comment.