From 16b663db574f4793060e0d7276c03ef1b203dee9 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 15 Nov 2011 00:51:46 +0000 Subject: * 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 --- regcomp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'regcomp.c') 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); -- cgit v1.2.3