ruby-changes:61004
From: Kazuki <ko1@a...>
Date: Mon, 4 May 2020 13:31:49 +0900 (JST)
Subject: [ruby-changes:61004] 6ed7bc83ec (master): Fix indentation
https://git.ruby-lang.org/ruby.git/commit/?id=6ed7bc83ec From 6ed7bc83ec077f691e79414fa0a2638ea3edbf7d Mon Sep 17 00:00:00 2001 From: Kazuki Tsujimoto <kazuki@c...> Date: Mon, 4 May 2020 13:24:53 +0900 Subject: Fix indentation diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index f470f74..0799944 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -382,9 +382,9 @@ count_nodes(int argc, VALUE *argv, VALUE os) https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L382 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) https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L478 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 40a5dd5..504153a 100644 --- a/node.h +++ b/node.h @@ -165,7 +165,7 @@ typedef struct RNode { https://github.com/ruby/ruby/blob/trunk/node.h#L165 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; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/