mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: do not overwrite case_body position
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e1ac09dbe9
commit
f3aa3cd825
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -2901,7 +2901,7 @@ primary : literal
|
|||
{
|
||||
/*%%%*/
|
||||
$$ = NEW_CASE2($3);
|
||||
nd_set_line($3, $<num>1);
|
||||
nd_set_line($$, $<num>1);
|
||||
$$->nd_loc = @$;
|
||||
/*%
|
||||
$$ = dispatch2(case, Qnil, $3);
|
||||
|
|
Loading…
Reference in a new issue