diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-09-19 07:43:39 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-09-19 07:43:39 +0000 |
commit | 2b91b407fc6fc0eab672ceb708edf8f5548a636c (patch) | |
tree | dddbd9136d4ff0e009030992756d806aa009da6d /src/pcre2_auto_possess.c | |
parent | 262a7638174ee990673830cab7e040bcc917d740 (diff) | |
download | pcre2-2b91b407fc6fc0eab672ceb708edf8f5548a636c.tar.gz |
API documentation and a lot of little related changes to the code.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@74 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_auto_possess.c')
-rw-r--r-- | src/pcre2_auto_possess.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pcre2_auto_possess.c b/src/pcre2_auto_possess.c index 866f98a..56ec430 100644 --- a/src/pcre2_auto_possess.c +++ b/src/pcre2_auto_possess.c @@ -231,7 +231,7 @@ static const uint8_t opcode_possessify[] = { -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE /************************************************* * Check a character and a property * *************************************************/ @@ -311,7 +311,7 @@ switch(ptype) return FALSE; } -#endif /* SUPPORT_UTF */ +#endif /* SUPPORT_UNICODE */ @@ -368,7 +368,7 @@ PCRE2_UCHAR base; PCRE2_SPTR end; uint32_t chr; -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE uint32_t *clist_dest; const uint32_t *clist_src; #else @@ -451,7 +451,7 @@ switch(c) GETCHARINCTEST(chr, code); list[2] = chr; -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE if (chr < 128 || (chr < 256 && !utf)) list[3] = fcc[chr]; else @@ -470,7 +470,7 @@ switch(c) list[4] = NOTACHAR; return code; -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE case OP_PROP: case OP_NOTPROP: if (code[0] != PT_CLIST) @@ -812,7 +812,7 @@ for(;;) leftop = base_list[0]; rightop = list[0]; -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE accepted = FALSE; /* Always set in non-unicode case. */ if (leftop == OP_PROP || leftop == OP_NOTPROP) { @@ -915,7 +915,7 @@ for(;;) } else -#endif /* SUPPORT_UTF */ +#endif /* SUPPORT_UNICODE */ accepted = leftop >= FIRST_AUTOTAB_OP && leftop <= LAST_AUTOTAB_LEFT_OP && rightop >= FIRST_AUTOTAB_OP && rightop <= LAST_AUTOTAB_RIGHT_OP && @@ -1039,7 +1039,7 @@ for(;;) case OP_EOD: /* Can always possessify before \z */ break; -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE case OP_PROP: case OP_NOTPROP: if (!check_char_prop(chr, list_ptr[2], list_ptr[3], |