summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
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;