ICU-10647 fixes to UBA implementation to make it behave exactly like the reference implementations even for all the known weird cases.

X-SVN-Rev: 34935
This commit is contained in:
Matitiahu Allouche 2014-01-19 22:12:25 +00:00
parent 11bda31f78
commit 021f31f4b5
2 changed files with 385 additions and 299 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 2001-2013, International Business Machines
* Copyright (C) 2001-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
*/
@ -99,7 +99,7 @@ final class BidiLine {
}
/* go backwards across all WS, BN, explicit codes */
while (start > 0 &&
(Bidi.DirPropFlag(Bidi.PureDirProp(dirProps[start - 1])) & Bidi.MASK_WS) != 0) {
(Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) {
--start;
}