ruby-changes:50546
From: nobu <ko1@a...>
Date: Wed, 7 Mar 2018 20:49:29 +0900 (JST)
Subject: [ruby-changes:50546] nobu:r62686 (trunk): complex.c, rational.c: adjust indent
nobu 2018-03-07 20:49:23 +0900 (Wed, 07 Mar 2018) New Revision: 62686 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62686 Log: complex.c, rational.c: adjust indent Modified files: trunk/complex.c trunk/rational.c Index: complex.c =================================================================== --- complex.c (revision 62685) +++ complex.c (revision 62686) @@ -625,9 +625,9 @@ nucomp_imag(VALUE self) https://github.com/ruby/ruby/blob/trunk/complex.c#L625 static VALUE nucomp_negate(VALUE self) { - get_dat1(self); - return f_complex_new2(CLASS_OF(self), - f_negate(dat->real), f_negate(dat->imag)); + get_dat1(self); + return f_complex_new2(CLASS_OF(self), + f_negate(dat->real), f_negate(dat->imag)); } /* Index: rational.c =================================================================== --- rational.c (revision 62685) +++ rational.c (revision 62686) @@ -45,7 +45,7 @@ static ID id_abs, id_idiv, id_integer_p, https://github.com/ruby/ruby/blob/trunk/rational.c#L45 inline static VALUE \ f_##n(VALUE x, VALUE y)\ {\ - return rb_funcall(x, (op), 1, y);\ + return rb_funcall(x, (op), 1, y); \ } #define fun1(n) \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/