summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-29 12:22:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-29 12:22:04 +0000
commitbe7bf5aa0cd9a8e90dbaf268d53b8590fc23393d (patch)
treec7c9bb262103dc191b197b133d941ac997f1b41f /iseq.c
parente878df745ca89ecdb07090ad2bb99fd433dfc3a3 (diff)
adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 4c3e2bc52f..a296544320 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1595,7 +1595,7 @@ static VALUE
exception_type2symbol(VALUE type)
{
ID id;
- switch(type) {
+ switch (type) {
case CATCH_TYPE_RESCUE: CONST_ID(id, "rescue"); break;
case CATCH_TYPE_ENSURE: CONST_ID(id, "ensure"); break;
case CATCH_TYPE_RETRY: CONST_ID(id, "retry"); break;
@@ -1664,7 +1664,7 @@ iseq_data_to_ary(rb_iseq_t *iseq)
}
/* type */
- switch(iseq->type) {
+ switch (iseq->type) {
case ISEQ_TYPE_TOP: type = sym_top; break;
case ISEQ_TYPE_METHOD: type = sym_method; break;
case ISEQ_TYPE_BLOCK: type = sym_block; break;