summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-29 06:12:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-29 06:12:46 +0000
commit6fcc9bd4dd149487ba883a26537408e97c382224 (patch)
tree8d18fd986d3415c665ebcc0a899e0f0a1fa2dbd7 /parse.y
parenta3742d6c25bce5f57924aff83de3783c6412ae1f (diff)
downloadruby-6fcc9bd4dd149487ba883a26537408e97c382224.tar.gz
ruby-6fcc9bd4dd149487ba883a26537408e97c382224.tar.xz
ruby-6fcc9bd4dd149487ba883a26537408e97c382224.zip
* parse.y (opt_block_param): command can start just after block param
definition. [ruby-list:44479] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 6a8375d04..bf0cd7388 100644
--- a/parse.y
+++ b/parse.y
@@ -3197,6 +3197,9 @@ block_param : f_arg ',' f_rest_arg opt_f_block_arg
opt_block_param : none
| block_param_def
+ {
+ command_start = Qtrue;
+ }
;
block_param_def : '|' opt_bv_decl '|'