diff options
| author | Andrei Zmievski <andrei@php.net> | 2006-03-06 21:45:57 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 2006-03-06 21:45:57 +0000 |
| commit | 89a4054106fd1f5a6b7e1442f9d118b6fb0f3375 (patch) | |
| tree | a4b8ad99f5a9355463124cd6221fa5e6e44b98be /ext/pcre/pcrelib/pcre_config.c | |
| parent | 5bfe560cab0532054e48737e8ea4bf2fa8ec00ff (diff) | |
| download | php-git-89a4054106fd1f5a6b7e1442f9d118b6fb0f3375.tar.gz | |
MFH (Import PCRE 6.6)
Diffstat (limited to 'ext/pcre/pcrelib/pcre_config.c')
| -rw-r--r-- | ext/pcre/pcrelib/pcre_config.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/pcre_config.c b/ext/pcre/pcrelib/pcre_config.c index 04029a9464..29e6c1a358 100644 --- a/ext/pcre/pcrelib/pcre_config.c +++ b/ext/pcre/pcrelib/pcre_config.c @@ -6,7 +6,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel - Copyright (c) 1997-2005 University of Cambridge + Copyright (c) 1997-2006 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -58,7 +58,7 @@ Arguments: Returns: 0 if data returned, negative on error */ -EXPORT int +PCRE_DATA_SCOPE int pcre_config(int what, void *where) { switch (what) @@ -95,6 +95,10 @@ switch (what) *((unsigned int *)where) = MATCH_LIMIT; break; + case PCRE_CONFIG_MATCH_LIMIT_RECURSION: + *((unsigned int *)where) = MATCH_LIMIT_RECURSION; + break; + case PCRE_CONFIG_STACKRECURSE: #ifdef NO_RECURSE *((int *)where) = 0; |
