This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow to override MAX_RECURSE_EVAL_NOCHANGE_DEPTH,
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 14 Feb 2007 17:29:53 +0000 (17:29 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 14 Feb 2007 17:29:53 +0000 (17:29 +0000)
introduced in change 28939 (this should be documented)

p4raw-id: //depot/perl@30293

regexp.h

index c526cf9..f6d3c7b 100644 (file)
--- 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;