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

* regcomp.c (print_indent_tree): fix double printing of ENCLOSE_OPTION

children bug. patched by Suraj Kurapati. [ruby-core:40964]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-11-15 00:51:46 +00:00
parent 66f8e8bbce
commit 16b663db57
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Nov 15 09:50:21 2011 NARUSE, Yui <naruse@ruby-lang.org>
* regcomp.c (print_indent_tree): fix double printing of ENCLOSE_OPTION
children bug. patched by Suraj Kurapati. [ruby-core:40964]
Tue Nov 15 01:53:48 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/ruby/test_io.rb (test_fcntl_dupfd): fix test error on

View file

@ -6281,7 +6281,6 @@ print_indent_tree(FILE* f, Node* node, int indent)
switch (NENCLOSE(node)->type) {
case ENCLOSE_OPTION:
fprintf(f, "option:%d\n", NENCLOSE(node)->option);
print_indent_tree(f, NENCLOSE(node)->target, indent + add);
break;
case ENCLOSE_MEMORY:
fprintf(f, "memory:%d", NENCLOSE(node)->regnum);