ruby-changes:54802
From: svn <ko1@a...>
Date: Thu, 7 Feb 2019 17:14:17 +0900 (JST)
Subject: [ruby-changes:54802] svn:r67021 (trunk): * expand tabs.
svn 2019-02-07 17:14:12 +0900 (Thu, 07 Feb 2019) New Revision: 67021 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67021 Log: * expand tabs. Modified files: trunk/enum.c Index: enum.c =================================================================== --- enum.c (revision 67020) +++ enum.c (revision 67021) @@ -940,13 +940,13 @@ tally_up(VALUE hash, VALUE group) https://github.com/ruby/ruby/blob/trunk/enum.c#L940 { VALUE tally = rb_hash_aref(hash, group); if (NIL_P(tally)) { - tally = INT2FIX(1); + tally = INT2FIX(1); } else if (FIXNUM_P(tally) && tally < INT2FIX(FIXNUM_MAX)) { - tally += INT2FIX(1) & ~FIXNUM_FLAG; + tally += INT2FIX(1) & ~FIXNUM_FLAG; } else { - tally = rb_big_plus(tally, INT2FIX(1)); + tally = rb_big_plus(tally, INT2FIX(1)); } rb_hash_aset(hash, group, tally); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/