summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_internal.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-04-29 22:25:02 -0700
committerStanislav Malyshev <stas@php.net>2015-04-29 22:27:07 -0700
commit95fa72799298300f310c630a6c854f511d083bcc (patch)
tree8cb30ea0102d2becb59a81ea7ec4e051dd834c52 /ext/pcre/pcrelib/pcre_internal.h
parent9c5c3ff0220f689954ada24b94228b6f3591e37d (diff)
downloadphp-git-95fa72799298300f310c630a6c854f511d083bcc.tar.gz
Upgrade to PCRE 8.37 due to various bugfixes
Diffstat (limited to 'ext/pcre/pcrelib/pcre_internal.h')
-rw-r--r--ext/pcre/pcrelib/pcre_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/pcre_internal.h b/ext/pcre/pcrelib/pcre_internal.h
index 19d18a830a..4c4817d797 100644
--- a/ext/pcre/pcrelib/pcre_internal.h
+++ b/ext/pcre/pcrelib/pcre_internal.h
@@ -2450,6 +2450,7 @@ typedef struct compile_data {
BOOL had_pruneorskip; /* (*PRUNE) or (*SKIP) encountered */
BOOL check_lookbehind; /* Lookbehinds need later checking */
BOOL dupnames; /* Duplicate names exist */
+ BOOL iscondassert; /* Next assert is a condition */
int nltype; /* Newline type */
int nllen; /* Newline string length */
pcre_uchar nl[4]; /* Newline string when fixed length */
@@ -2463,6 +2464,13 @@ typedef struct branch_chain {
pcre_uchar *current_branch;
} branch_chain;
+/* Structure for mutual recursion detection. */
+
+typedef struct recurse_check {
+ struct recurse_check *prev;
+ const pcre_uchar *group;
+} recurse_check;
+
/* Structure for items in a linked list that represents an explicit recursive
call within the pattern; used by pcre_exec(). */