aboutsummaryrefslogtreecommitdiffstats
path: root/regcomp.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-15 00:51:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-15 00:51:46 +0000
commit16b663db574f4793060e0d7276c03ef1b203dee9 (patch)
treec10c637c5431d97446daaa465059a82b6c0e7542 /regcomp.c
parent66f8e8bbcec5fa1d3c4e61f948a6e895b368a89f (diff)
downloadruby-16b663db574f4793060e0d7276c03ef1b203dee9.tar.gz
* 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
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 7c29fb5203..ae8c793e76 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -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);