diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | regcomp.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -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 @@ -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); |