ICU-8350 fix ASCIIsm
X-SVN-Rev: 29985
This commit is contained in:
parent
4d7569c743
commit
932bcbef14
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user