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

ruby-changes:52705

From: svn <ko1@a...>
Date: Fri, 5 Oct 2018 08:33:09 +0900 (JST)
Subject: [ruby-changes:52705] svn:r64918 (trunk): * expand tabs.

svn	2018-10-05 08:33:05 +0900 (Fri, 05 Oct 2018)

  New Revision: 64918

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

  Log:
    * expand tabs.

  Modified files:
    trunk/struct.c
Index: struct.c
===================================================================
--- struct.c	(revision 64917)
+++ struct.c	(revision 64918)
@@ -325,14 +325,14 @@ setup_struct(VALUE nstr, VALUE members) https://github.com/ruby/ruby/blob/trunk/struct.c#L325
     len = RARRAY_LEN(members);
     for (i=0; i< len; i++) {
         VALUE sym = RARRAY_AREF(members, i);
-	ID id = SYM2ID(sym);
+        ID id = SYM2ID(sym);
 	VALUE off = LONG2NUM(i);
 
 	if (i < N_REF_FUNC) {
 	    rb_define_method_id(nstr, id, ref_func[i], 0);
 	}
 	else {
-	    define_aref_method(nstr, sym, off);
+            define_aref_method(nstr, sym, off);
 	}
 	define_aset_method(nstr, ID2SYM(rb_id_attrset(id)), off);
     }

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

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