diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-15 00:51:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-15 00:51:46 +0000 |
commit | 16b663db574f4793060e0d7276c03ef1b203dee9 (patch) | |
tree | c10c637c5431d97446daaa465059a82b6c0e7542 | |
parent | 66f8e8bbcec5fa1d3c4e61f948a6e895b368a89f (diff) |
* 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
-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); |