* 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:
parent
66f8e8bbce
commit
16b663db57
@ -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>
|
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
|
* 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) {
|
switch (NENCLOSE(node)->type) {
|
||||||
case ENCLOSE_OPTION:
|
case ENCLOSE_OPTION:
|
||||||
fprintf(f, "option:%d\n", NENCLOSE(node)->option);
|
fprintf(f, "option:%d\n", NENCLOSE(node)->option);
|
||||||
print_indent_tree(f, NENCLOSE(node)->target, indent + add);
|
|
||||||
break;
|
break;
|
||||||
case ENCLOSE_MEMORY:
|
case ENCLOSE_MEMORY:
|
||||||
fprintf(f, "memory:%d", NENCLOSE(node)->regnum);
|
fprintf(f, "memory:%d", NENCLOSE(node)->regnum);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user