diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-21 04:47:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-21 04:47:35 +0000 |
commit | 1dc51ee79deb293f56c038cd966786a4fa3eb302 (patch) | |
tree | adc4c4d50e22aee104f5868c31e09f184f824a54 /ChangeLog | |
parent | 22ae147ffb6b330108010fd0182e36276f69b2e1 (diff) | |
download | ruby-1dc51ee79deb293f56c038cd966786a4fa3eb302.tar.gz |
parse.y: preserve cmdarg_stack
* parse.y (brace_body, do_body): preserve cmdarg_stack so that
`do` after cmdarg in a block should be `do_block` and bound to
the outer method. [ruby-core:72482] [Bug #11873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,10 +1,12 @@ -Wed Sep 21 13:38:44 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> +Wed Sep 21 13:47:33 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (brace_body, do_body): preserve cmdarg_stack so that + `do` after cmdarg in a block should be `do_block` and bound to + the outer method. [ruby-core:72482] [Bug #11873] * parse.y: `do` after cmdarg in parentheses should be `do_block` and bound to the outer method. [ruby-core:72482] [Bug #11873] -Wed Sep 21 13:32:00 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> - * parse.y (brace_body, do_body): extract block bodies. Tue Sep 20 23:02:50 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> |