summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuki Tsujimoto <kazuki@callcc.net>2020-05-04 13:24:53 +0900
committerKazuki Tsujimoto <kazuki@callcc.net>2020-05-04 13:27:25 +0900
commit6ed7bc83ec077f691e79414fa0a2638ea3edbf7d (patch)
tree846bbee6e35d44212756b3f5a1c0001a0a13dce3
parentd6389224da5aac0b36299cc6d968837407fdfe2c (diff)
Fix indentation
-rw-r--r--ext/objspace/objspace.c8
-rw-r--r--node.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index f470f74c5a..0799944a5b 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -382,9 +382,9 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_UNLESS);
COUNT_NODE(NODE_CASE);
COUNT_NODE(NODE_CASE2);
- COUNT_NODE(NODE_CASE3);
+ COUNT_NODE(NODE_CASE3);
COUNT_NODE(NODE_WHEN);
- COUNT_NODE(NODE_IN);
+ COUNT_NODE(NODE_IN);
COUNT_NODE(NODE_WHILE);
COUNT_NODE(NODE_UNTIL);
COUNT_NODE(NODE_ITER);
@@ -478,8 +478,8 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_DSYM);
COUNT_NODE(NODE_ATTRASGN);
COUNT_NODE(NODE_LAMBDA);
- COUNT_NODE(NODE_ARYPTN);
- COUNT_NODE(NODE_HSHPTN);
+ COUNT_NODE(NODE_ARYPTN);
+ COUNT_NODE(NODE_HSHPTN);
#undef COUNT_NODE
case NODE_LAST: break;
}
diff --git a/node.h b/node.h
index 40a5dd5de8..504153ab14 100644
--- a/node.h
+++ b/node.h
@@ -165,7 +165,7 @@ typedef struct RNode {
long state;
struct rb_global_entry *entry;
struct rb_args_info *args;
- struct rb_ary_pattern_info *apinfo;
+ struct rb_ary_pattern_info *apinfo;
VALUE value;
} u3;
rb_code_location_t nd_loc;