ruby-changes:49555
From: yui-knk <ko1@a...>
Date: Mon, 8 Jan 2018 11:38:26 +0900 (JST)
Subject: [ruby-changes:49555] yui-knk:r61671 (trunk): parse.y: Remove duplicated nd_loc set
yui-knk 2018-01-08 11:38:21 +0900 (Mon, 08 Jan 2018) New Revision: 61671 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61671 Log: parse.y: Remove duplicated nd_loc set * parse.y: nd_loc is set by NEW_CASE2/NEW_WHEN Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 61670) +++ parse.y (revision 61671) @@ -2810,7 +2810,6 @@ primary : literal https://github.com/ruby/ruby/blob/trunk/parse.y#L2810 /*%%%*/ $$ = NEW_CASE2($3, &@$); nd_set_line($$, $<num>1); - $$->nd_loc = @$; /*% $$ = dispatch2(case, Qnil, $3); %*/ @@ -3741,7 +3740,6 @@ case_body : keyword_when args then https://github.com/ruby/ruby/blob/trunk/parse.y#L3740 /*%%%*/ $$ = NEW_WHEN($2, $4, $5, &@$); fixpos($$, $2); - $$->nd_loc = @$; /*% $$ = dispatch3(when, $2, $4, escape_Qundef($5)); %*/ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/