summaryrefslogtreecommitdiff
path: root/pcre/pcre_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcre/pcre_config.c')
-rw-r--r--pcre/pcre_config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pcre/pcre_config.c b/pcre/pcre_config.c
index 3d5689f62c3..1cbdd9c960c 100644
--- a/pcre/pcre_config.c
+++ b/pcre/pcre_config.c
@@ -161,6 +161,10 @@ switch (what)
*((int *)where) = POSIX_MALLOC_THRESHOLD;
break;
+ case PCRE_CONFIG_PARENS_LIMIT:
+ *((unsigned long int *)where) = PARENS_NEST_LIMIT;
+ break;
+
case PCRE_CONFIG_MATCH_LIMIT:
*((unsigned long int *)where) = MATCH_LIMIT;
break;