diff options
author | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-16 15:55:20 +0000 |
---|---|---|
committer | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-16 15:55:20 +0000 |
commit | 5503c84d3cbc612ea8dca37c6fdebd2e12370639 (patch) | |
tree | 279ed571b600c62dd72537ba86c27e861bd6139d /pcretest.c | |
parent | 92138d94435fabfab626b43ee0066521f546e5c4 (diff) | |
download | pcre-5503c84d3cbc612ea8dca37c6fdebd2e12370639.tar.gz |
pcre32: pcretest: 32-bit cleanliness
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1082 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcretest.c')
-rw-r--r-- | pcretest.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -4066,7 +4066,8 @@ while (!done) int use_size_offsets = size_offsets; int callout_data = 0; int callout_data_set = 0; - int count, c; + int count; + pcre_uint32 c; int copystrings = 0; int find_match_limit = default_find_match_limit; int getstrings = 0; @@ -4420,11 +4421,11 @@ while (!done) } /* We now have a character value in c that may be greater than 255. In - 16-bit mode, we always convert characters to UTF-8 so that values greater - than 255 can be passed to non-UTF 16-bit strings. In 8-bit mode we - convert to UTF-8 if we are in UTF mode. Values greater than 127 in UTF - mode must have come from \x{...} or octal constructs because values from - \x.. get this far only in non-UTF mode. */ + 16-bit or 32-bit mode, we always convert characters to UTF-8 so that + values greater than 255 can be passed to non-UTF 16-bit strings. In 8-bit + mode we convert to UTF-8 if we are in UTF mode. Values greater than 127 + in UTF mode must have come from \x{...} or octal constructs because values + from \x.. get this far only in non-UTF mode. */ #if !defined NOUTF || defined SUPPORT_PCRE16 || defined SUPPORT_PCRE32 if (pcre_mode != PCRE8_MODE || use_utf) |