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

ruby-changes:38515

From: ko1 <ko1@a...>
Date: Thu, 21 May 2015 20:52:38 +0900 (JST)
Subject: [ruby-changes:38515] ko1:r50596 (trunk): fix indent

ko1	2015-05-21 20:52:21 +0900 (Thu, 21 May 2015)

  New Revision: 50596

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

  Log:
    fix indent

  Modified files:
    trunk/proc.c
    trunk/vm.c
Index: proc.c
===================================================================
--- proc.c	(revision 50595)
+++ proc.c	(revision 50596)
@@ -371,12 +371,12 @@ get_local_variable_ptr(VALUE envval, ID https://github.com/ruby/ruby/blob/trunk/proc.c#L371
 	iseq = env->block.iseq;
 
 	if (RUBY_VM_NORMAL_ISEQ_P(iseq)) {
-	for (i=0; i<iseq->local_table_size; i++) {
-	    if (iseq->local_table[i] == lid) {
-		return &env->env[i];
+	    for (i=0; i<iseq->local_table_size; i++) {
+		if (iseq->local_table[i] == lid) {
+		    return &env->env[i];
+		}
 	    }
 	}
-	}
 	else {
 	    return NULL;
 	}
@@ -2531,7 +2531,7 @@ proc_binding(VALUE self) https://github.com/ruby/ruby/blob/trunk/proc.c#L2531
 	}
 	else {
 	    rb_raise(rb_eArgError, "Can't create Binding from C level Proc");
- 	}
+	}
     }
 
     bindval = rb_binding_alloc(rb_cBinding);
Index: vm.c
===================================================================
--- vm.c	(revision 50595)
+++ vm.c	(revision 50596)
@@ -779,8 +779,8 @@ rb_binding_add_dynavars(rb_binding_t *bi https://github.com/ruby/ruby/blob/trunk/vm.c#L779
     node = NEW_NODE(NODE_SCOPE, dyns, 0, 0);
 
     if (base_iseq) {
-    iseqval = rb_iseq_new(node, base_iseq->location.label, path, path,
-			  base_iseq->self, ISEQ_TYPE_EVAL);
+	iseqval = rb_iseq_new(node, base_iseq->location.label, path, path,
+			      base_iseq->self, ISEQ_TYPE_EVAL);
     }
     else {
 	VALUE tempstr = rb_str_new2("<temp>");

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

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