ICU-8350 fix ASCIIsm

X-SVN-Rev: 29985
This commit is contained in:
Steven R. Loomis 2011-05-03 16:55:27 +00:00
parent 4d7569c743
commit 932bcbef14

View File

@ -730,7 +730,11 @@ void BytesTrieTest::checkNext(BytesTrie &trie,
// Compare the final current() with whether next() can actually continue. // Compare the final current() with whether next() can actually continue.
trie.saveState(state); trie.saveState(state);
UBool nextContinues=FALSE; UBool nextContinues=FALSE;
#if (U_CHARSET_FAMILY==U_ASCII_FAMILY)
for(int32_t c=0x20; c<0x7f; ++c) { for(int32_t c=0x20; c<0x7f; ++c) {
#else
for(int32_t c=0x00; c<0xff; ++c) {
#endif
if(trie.resetToState(state).next(c)) { if(trie.resetToState(state).next(c)) {
nextContinues=TRUE; nextContinues=TRUE;
break; break;