1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix indentation

This commit is contained in:
Kazuki Tsujimoto 2020-05-04 13:24:53 +09:00
parent d6389224da
commit 6ed7bc83ec
No known key found for this signature in database
GPG key ID: BCEA306C49B81CD7
2 changed files with 5 additions and 5 deletions

View file

@ -382,9 +382,9 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_UNLESS); COUNT_NODE(NODE_UNLESS);
COUNT_NODE(NODE_CASE); COUNT_NODE(NODE_CASE);
COUNT_NODE(NODE_CASE2); COUNT_NODE(NODE_CASE2);
COUNT_NODE(NODE_CASE3); COUNT_NODE(NODE_CASE3);
COUNT_NODE(NODE_WHEN); COUNT_NODE(NODE_WHEN);
COUNT_NODE(NODE_IN); COUNT_NODE(NODE_IN);
COUNT_NODE(NODE_WHILE); COUNT_NODE(NODE_WHILE);
COUNT_NODE(NODE_UNTIL); COUNT_NODE(NODE_UNTIL);
COUNT_NODE(NODE_ITER); COUNT_NODE(NODE_ITER);
@ -478,8 +478,8 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_DSYM); COUNT_NODE(NODE_DSYM);
COUNT_NODE(NODE_ATTRASGN); COUNT_NODE(NODE_ATTRASGN);
COUNT_NODE(NODE_LAMBDA); COUNT_NODE(NODE_LAMBDA);
COUNT_NODE(NODE_ARYPTN); COUNT_NODE(NODE_ARYPTN);
COUNT_NODE(NODE_HSHPTN); COUNT_NODE(NODE_HSHPTN);
#undef COUNT_NODE #undef COUNT_NODE
case NODE_LAST: break; case NODE_LAST: break;
} }

2
node.h
View file

@ -165,7 +165,7 @@ typedef struct RNode {
long state; long state;
struct rb_global_entry *entry; struct rb_global_entry *entry;
struct rb_args_info *args; struct rb_args_info *args;
struct rb_ary_pattern_info *apinfo; struct rb_ary_pattern_info *apinfo;
VALUE value; VALUE value;
} u3; } u3;
rb_code_location_t nd_loc; rb_code_location_t nd_loc;