diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-11-12 15:20:26 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-11-12 15:20:26 +0000 |
commit | 5ca0e46e8fd7939dc161df92c0bc3aece7ce9d96 (patch) | |
tree | 69dd910d4bccac5dfb7e377315071ae663afbf65 /pcre_compile.c | |
parent | bedf8543fca9244a642da63b60e662d754216085 (diff) | |
download | pcre-5ca0e46e8fd7939dc161df92c0bc3aece7ce9d96.tar.gz |
Rename the (as yet unreleased) PCRE_NO_AUTO_POSSESSIFY option to
PCRE_NO_AUTO_POSSESS - no need to be so long - and to match (*NO_AUTO_POSSESS).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1398 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r-- | pcre_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_compile.c b/pcre_compile.c index 688efe5..f1834c0 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -8778,7 +8778,7 @@ PCRE_UTF8 == PCRE_UTF16 == PCRE_UTF32. */ else if (STRNCMP_UC_C8(ptr+skipatstart+2, STRING_UCP_RIGHTPAR, 4) == 0) { skipatstart += 6; options |= PCRE_UCP; continue; } else if (STRNCMP_UC_C8(ptr+skipatstart+2, STRING_NO_AUTO_POSSESS_RIGHTPAR, 16) == 0) - { skipatstart += 18; options |= PCRE_NO_AUTO_POSSESSIFY; continue; } + { skipatstart += 18; options |= PCRE_NO_AUTO_POSSESS; continue; } else if (STRNCMP_UC_C8(ptr+skipatstart+2, STRING_NO_START_OPT_RIGHTPAR, 13) == 0) { skipatstart += 15; options |= PCRE_NO_START_OPTIMIZE; continue; } @@ -9166,7 +9166,7 @@ if (errorcode == 0 && re->top_backref > re->top_bracket) errorcode = ERR15; /* Unless disabled, check whether single character iterators can be auto-possessified. The function overwrites the appropriate opcode values. */ -if ((options & PCRE_NO_AUTO_POSSESSIFY) == 0) +if ((options & PCRE_NO_AUTO_POSSESS) == 0) auto_possessify((pcre_uchar *)codestart, utf, cd); /* If there were any lookbehind assertions that contained OP_RECURSE |