diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-07 11:51:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-07 11:51:29 +0000 |
commit | e1ac09dbe9a776f124b763905a62f1913ba9792a (patch) | |
tree | f449f8b796918a900bb97c0074eae2332d575149 | |
parent | 057c88bc0010e24118c1136f12638c6dea837212 (diff) | |
download | ruby-e1ac09dbe9a776f124b763905a62f1913ba9792a.tar.gz |
parse.y: set case_body line position to args
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3845,6 +3845,7 @@ case_body : keyword_when args then { /*%%%*/ $$ = NEW_WHEN($2, $4, $5); + fixpos($$, $2); $$->nd_loc = @$; /*% $$ = dispatch3(when, $2, $4, escape_Qundef($5)); |