ICU-96 Collator framework now can instantiate a collator from UCARules

X-SVN-Rev: 4843
This commit is contained in:
Vladimir Weinstein 2001-05-31 17:05:48 +00:00
parent a3d310d0d1
commit 0f8883f150
3 changed files with 502 additions and 3120 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -776,8 +776,10 @@ U_CFUNC void ucol_createElements(UColTokenParser *src, tempUCATable *t, UColTokL
tok->expCEs[tok->noOfExpCEs + j] = expt->CEs[j];
}
tok->noOfExpCEs += noOfCEsToCopy;
expOffset += noOfCEsToCopy;
len -= noOfCEsToCopy;
// Smart people never try to add codepoints and CEs.
// For some odd reason, it won't work.
expOffset += currentSequenceLen; //noOfCEsToCopy;
len -= currentSequenceLen; //noOfCEsToCopy;
break;
} else {
currentSequenceLen--;