[前][次][番号順一覧][スレッド一覧]

ruby-changes:53334

From: svn <ko1@a...>
Date: Mon, 5 Nov 2018 17:02:35 +0900 (JST)
Subject: [ruby-changes:53334] svn:r65550 (trunk): * expand tabs.

svn	2018-11-05 17:02:31 +0900 (Mon, 05 Nov 2018)

  New Revision: 65550

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65550

  Log:
    * expand tabs.

  Modified files:
    trunk/struct.c
Index: struct.c
===================================================================
--- struct.c	(revision 65549)
+++ struct.c	(revision 65550)
@@ -1140,7 +1140,7 @@ recursive_equal(VALUE s, VALUE s2, int r https://github.com/ruby/ruby/blob/trunk/struct.c#L1140
     if (recur) return Qtrue; /* Subtle! */
     len = RSTRUCT_LEN(s);
     for (i=0; i<len; i++) {
-	if (!rb_equal(RSTRUCT_GET(s, i), RSTRUCT_GET(s2, i))) return Qfalse;
+        if (!rb_equal(RSTRUCT_GET(s, i), RSTRUCT_GET(s2, i))) return Qfalse;
     }
     return Qtrue;
 }
@@ -1192,7 +1192,7 @@ rb_struct_hash(VALUE s) https://github.com/ruby/ruby/blob/trunk/struct.c#L1192
     h = rb_hash_start(rb_hash(rb_obj_class(s)));
     len = RSTRUCT_LEN(s);
     for (i = 0; i < len; i++) {
-	n = rb_hash(RSTRUCT_GET(s, i));
+        n = rb_hash(RSTRUCT_GET(s, i));
 	h = rb_hash_uint(h, NUM2LONG(n));
     }
     h = rb_hash_end(h);
@@ -1207,7 +1207,7 @@ recursive_eql(VALUE s, VALUE s2, int rec https://github.com/ruby/ruby/blob/trunk/struct.c#L1207
     if (recur) return Qtrue; /* Subtle! */
     len = RSTRUCT_LEN(s);
     for (i=0; i<len; i++) {
-	if (!rb_eql(RSTRUCT_GET(s, i), RSTRUCT_GET(s2, i))) return Qfalse;
+        if (!rb_eql(RSTRUCT_GET(s, i), RSTRUCT_GET(s2, i))) return Qfalse;
     }
     return Qtrue;
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]