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)
commit2145004977c06c1989ad5ad0ee2d800da3353001 (patch)
tree18050ef7ae1b99525c564281e3b45886de072dc2 /generic/regc_nfa.c
parent9f6079e31a653421685fd3a5971bec5e3fff4b8c (diff)
downloadtcl-2145004977c06c1989ad5ad0ee2d800da3353001.zip
tcl-2145004977c06c1989ad5ad0ee2d800da3353001.tar.gz
tcl-2145004977c06c1989ad5ad0ee2d800da3353001.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) {