ruby-changes:49611
From: kazu <ko1@a...>
Date: Tue, 9 Jan 2018 21:35:58 +0900 (JST)
Subject: [ruby-changes:49611] kazu:r61726 (trunk): Fix indent [ci skip]
kazu 2018-01-09 21:35:54 +0900 (Tue, 09 Jan 2018) New Revision: 61726 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61726 Log: Fix indent [ci skip] Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 61725) +++ parse.y (revision 61726) @@ -52,8 +52,8 @@ https://github.com/ruby/ruby/blob/trunk/parse.y#L52 do \ if (N) \ { \ - (Current).beg_pos = YYRHSLOC(Rhs, 1).beg_pos; \ - (Current).end_pos = YYRHSLOC(Rhs, N).end_pos; \ + (Current).beg_pos = YYRHSLOC(Rhs, 1).beg_pos; \ + (Current).end_pos = YYRHSLOC(Rhs, N).end_pos; \ } \ else \ RUBY_SET_YYLLOC_OF_NONE(Current); \ @@ -9496,8 +9496,8 @@ rb_parser_set_location_from_strterm_here https://github.com/ruby/ruby/blob/trunk/parse.y#L9496 yylloc->beg_pos.lineno = (int)here->sourceline; yylloc->beg_pos.column = (int)(here->u3.lastidx - term_len); - yylloc->end_pos.lineno = (int)here->sourceline; - yylloc->end_pos.column = (int)(here->u3.lastidx); + yylloc->end_pos.lineno = (int)here->sourceline; + yylloc->end_pos.column = (int)(here->u3.lastidx); } void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/