summaryrefslogtreecommitdiff
path: root/pcre_internal.h
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-03-08 11:35:41 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-03-08 11:35:41 +0000
commitcc599c2b02de0a5969f826d4fe6a6ef0e491efa8 (patch)
treef1a53515c606c32dc88bc3cdc8f0051216819a11 /pcre_internal.h
parent94d0e3e2cf78cc2eee78fbb339ccff197035c4cb (diff)
downloadpcre-cc599c2b02de0a5969f826d4fe6a6ef0e491efa8.tar.gz
Fix the case where there are two or more SKIPs that may have to be ignored.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1274 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_internal.h')
-rw-r--r--pcre_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcre_internal.h b/pcre_internal.h
index 31ecbc4..d9e0c60 100644
--- a/pcre_internal.h
+++ b/pcre_internal.h
@@ -2469,6 +2469,8 @@ typedef struct match_data {
int nllen; /* Newline string length */
int name_count; /* Number of names in name table */
int name_entry_size; /* Size of entry in names table */
+ unsigned int skip_arg_count; /* For counting SKIP_ARGs */
+ unsigned int ignore_skip_arg; /* For re-run when SKIP arg name not found */
pcre_uchar *name_table; /* Table of names */
pcre_uchar nl[4]; /* Newline string when fixed */
const pcre_uint8 *lcc; /* Points to lower casing table */
@@ -2485,7 +2487,6 @@ typedef struct match_data {
BOOL hitend; /* Hit the end of the subject at some point */
BOOL bsr_anycrlf; /* \R is just any CRLF, not full Unicode */
BOOL hasthen; /* Pattern contains (*THEN) */
- BOOL ignore_skip_arg; /* For re-run when SKIP name not found */
const pcre_uchar *start_code; /* For use when recursing */
PCRE_PUCHAR start_subject; /* Start of the subject string */
PCRE_PUCHAR end_subject; /* End of the subject string */