diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-28 09:13:59 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-28 09:13:59 +0000 |
commit | 000f53cf12bbfb4f658d2417a96e03cb3c0b97cc (patch) | |
tree | 1915f0bf6bb5594e34e6d8ef95ff8dd3dcd6b6b2 /pcre_xclass.c | |
parent | f4176cfb682170c5e9246949df653c82200d7259 (diff) | |
download | pcre-000f53cf12bbfb4f658d2417a96e03cb3c0b97cc.tar.gz |
Final source file tidies for 8.33 release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1335 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_xclass.c')
-rw-r--r-- | pcre_xclass.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pcre_xclass.c b/pcre_xclass.c index ddc2844..d777acb 100644 --- a/pcre_xclass.c +++ b/pcre_xclass.c @@ -179,20 +179,20 @@ while ((t = *data++) != XCL_END) == (t == XCL_PROP)) return !negated; break; - + case PT_UCNC: - if (c < 0xa0) - { - if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || + if (c < 0xa0) + { + if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || c == CHAR_GRAVE_ACCENT) == (t == XCL_PROP)) return !negated; - } - else - { - if ((c < 0xd800 || c > 0xdfff) == (t == XCL_PROP)) + } + else + { + if ((c < 0xd800 || c > 0xdfff) == (t == XCL_PROP)) return !negated; - } - break; + } + break; /* This should never occur, but compilers may mutter if there is no default. */ |