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

* node.c (dump_array): remove duplicate header of NODE_ARRAY/

NODE_VALUES.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2016-09-25 10:23:33 +00:00
parent 021d3c7a9a
commit dd3ccb8b50
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Sep 25 19:21:26 2016 Kazuki Tsujimoto <kazuki@callcc.net>
* node.c (dump_array): remove duplicate header of NODE_ARRAY/
NODE_VALUES.
Sat Sep 24 22:26:20 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> Sat Sep 24 22:26:20 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb (extract_makefile, extmake, configuration): store * ext/extmk.rb (extract_makefile, extmake, configuration): store

1
node.c
View file

@ -140,7 +140,6 @@ dump_array(VALUE buf, VALUE indent, int comment, NODE *node)
{ {
int field_flag; int field_flag;
const char *next_indent = default_indent; const char *next_indent = default_indent;
D_NODE_HEADER(node);
F_LONG(nd_alen, "length"); F_LONG(nd_alen, "length");
F_NODE(nd_head, "element"); F_NODE(nd_head, "element");
while (node->nd_next && nd_type(node->nd_next) == NODE_ARRAY) { while (node->nd_next && nd_type(node->nd_next) == NODE_ARRAY) {