зеркало из https://github.com/github/ruby.git
* 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:
Родитель
66f8e8bbce
Коммит
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>
|
||||
|
||||
* 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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче