summaryrefslogtreecommitdiffstats
path: root/generic/regc_nfa.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-08-01 19:18:02 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-08-01 19:18:02 (GMT)
commit965128fe34967f018de2b5fc31e0b5ee88f34ed6 (patch)
tree18050ef7ae1b99525c564281e3b45886de072dc2 /generic/regc_nfa.c
parentebc5b27c8c62ff5d034b84758f8168a438aee7f9 (diff)
downloadtcl-965128fe34967f018de2b5fc31e0b5ee88f34ed6.zip
tcl-965128fe34967f018de2b5fc31e0b5ee88f34ed6.tar.gz
tcl-965128fe34967f018de2b5fc31e0b5ee88f34ed6.tar.bz2
[1905562] [8d2c0da36d] Raise the recursion limits on regexps to allow
existing regexps "in the wild" to continue working with Tcl 8.6. Latest example comes from DejaGnu.
Diffstat (limited to 'generic/regc_nfa.c')
-rw-r--r--generic/regc_nfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regc_nfa.c b/generic/regc_nfa.c
index fc0c823..42489dd 100644
--- a/generic/regc_nfa.c
+++ b/generic/regc_nfa.c
@@ -824,7 +824,7 @@ duptraverse(
* make all normal tests (not reg-33.14) pass.
*/
#ifndef DUPTRAVERSE_MAX_DEPTH
-#define DUPTRAVERSE_MAX_DEPTH 700
+#define DUPTRAVERSE_MAX_DEPTH 15000
#endif
if (depth++ > DUPTRAVERSE_MAX_DEPTH) {