summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-14 17:29:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-14 17:29:53 +0000
commitd56b30146911a1c03e38fbb1e59b6f4edf749c91 (patch)
tree7a0a7ad41f760e4023ee20e785e02e466662b5bd /regexp.h
parentd2dacc4f735315b0cceecc21aa724d1bd4b2b797 (diff)
downloadperl-d56b30146911a1c03e38fbb1e59b6f4edf749c91.tar.gz
Allow to override MAX_RECURSE_EVAL_NOCHANGE_DEPTH,
introduced in change 28939 (this should be documented) p4raw-id: //depot/perl@30293
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index c526cf98e5..f6d3c7b53a 100644
--- a/regexp.h
+++ b/regexp.h
@@ -299,7 +299,9 @@ typedef struct {
/* structures for holding and saving the state maintained by regmatch() */
+#ifndef MAX_RECURSE_EVAL_NOCHANGE_DEPTH
#define MAX_RECURSE_EVAL_NOCHANGE_DEPTH 50
+#endif
typedef I32 CHECKPOINT;