summaryrefslogtreecommitdiff
path: root/src/pcre2_intmodedep.h
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-01-01 15:13:24 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-01-01 15:13:24 +0000
commit2cfbfa26319dac08864931842e04eb66ef3608f3 (patch)
treedbc70fbac7110a1d4fd3794faa97e41ec745ae72 /src/pcre2_intmodedep.h
parent3578b396df0419d644b9057e8b92f5002b771a45 (diff)
downloadpcre2-2cfbfa26319dac08864931842e04eb66ef3608f3.tar.gz
Tidy ACROSSCHAR macro to take same form as FORWARDCHAR and BACKCHAR.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@902 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_intmodedep.h')
-rw-r--r--src/pcre2_intmodedep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcre2_intmodedep.h b/src/pcre2_intmodedep.h
index 7305280..55bd931 100644
--- a/src/pcre2_intmodedep.h
+++ b/src/pcre2_intmodedep.h
@@ -351,7 +351,7 @@ because almost all calls are already within a block of UTF-8 only code. */
/* Same as above, but it allows a fully customizable form. */
#define ACROSSCHAR(condition, eptr, action) \
- while((condition) && ((eptr) & 0xc0u) == 0x80u) action
+ while((condition) && ((*eptr) & 0xc0u) == 0x80u) action
/* Deposit a character into memory, returning the number of code units. */
@@ -457,7 +457,7 @@ code. */
/* Same as above, but it allows a fully customizable form. */
#define ACROSSCHAR(condition, eptr, action) \
- if ((condition) && ((eptr) & 0xfc00u) == 0xdc00u) action
+ if ((condition) && ((*eptr) & 0xfc00u) == 0xdc00u) action
/* Deposit a character into memory, returning the number of code units. */