summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-21 11:52:21 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-21 11:52:21 +0000
commitc722f8ad1d6bdf3b18ec8141751b0f8c9e6f6913 (patch)
tree36024fb99954e787adfbefea4c6c56658485026e
parentd1a3f716e9655a73a517f079efce3768ebec8b0d (diff)
fix indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--proc.c10
-rw-r--r--vm.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/proc.c b/proc.c
index 0627466..5e1932b 100644
--- a/proc.c
+++ b/proc.c
@@ -371,12 +371,12 @@ get_local_variable_ptr(VALUE envval, ID lid)
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)
}
else {
rb_raise(rb_eArgError, "Can't create Binding from C level Proc");
- }
+ }
}
bindval = rb_binding_alloc(rb_cBinding);
diff --git a/vm.c b/vm.c
index faac85b..e1e5ede 100644
--- a/vm.c
+++ b/vm.c
@@ -779,8 +779,8 @@ rb_binding_add_dynavars(rb_binding_t *bind, int dyncount, const ID *dynvars)
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>");