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_xclass.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_xclass.c')
-rw-r--r-- | src/pcre2_xclass.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pcre2_xclass.c b/src/pcre2_xclass.c index 9f29b92..2deb428 100644 --- a/src/pcre2_xclass.c +++ b/src/pcre2_xclass.c @@ -103,7 +103,7 @@ while ((t = *data++) != XCL_END) uint32_t x, y; if (t == XCL_SINGLE) { -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE if (utf) { GETCHARINC(x, data); /* macro generates multiple statements */ @@ -115,7 +115,7 @@ while ((t = *data++) != XCL_END) } else if (t == XCL_RANGE) { -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE if (utf) { GETCHARINC(x, data); /* macro generates multiple statements */ @@ -130,7 +130,7 @@ while ((t = *data++) != XCL_END) if (c >= x && c <= y) return !negated; } -#ifdef SUPPORT_UTF +#ifdef SUPPORT_UNICODE else /* XCL_PROP & XCL_NOTPROP */ { const ucd_record *prop = GET_UCD(c); @@ -262,7 +262,7 @@ while ((t = *data++) != XCL_END) } #else (void)utf; /* Avoid compiler warning */ -#endif /* SUPPORT_UTF */ +#endif /* SUPPORT_UNICODE */ } return negated; /* char did not match */ |