ACIP->Tibetan converters now warn every time {%} is encountered that U+0F14 might've been intended.

The Unicode for ACIP {o} is U+0F37.
This commit is contained in:
dchandler 2003-11-09 23:15:58 +00:00
parent 084e12a02c
commit 2cb90bd231
2 changed files with 10 additions and 3 deletions

View file

@ -160,7 +160,7 @@ public class ACIPTshegBarScanner {
continue;
}
switch (ch) {
case '}':
case '}': // fall through...
case ']':
if (bracketTypeStack.empty()) {
// Error.
@ -218,6 +218,8 @@ public class ACIPTshegBarScanner {
case '{': // NOTE WELL: KX0016I.ACT, KD0095M.ACT, and a
// host of other ACIP files use {} brackets like
// [] brackets. I treat both the same.
// fall through...
case '[':
// This definitely indicates a new token.
if (startOfString < i) {
@ -824,6 +826,10 @@ public class ACIPTshegBarScanner {
}
}
}
if ('%' == ch) {
al.add(new TString("The ACIP {%} is treated by this converter as U+0F35, but sometimes might represent U+0F14 in practice",
TString.WARNING));
}
startOfString = i+1;
currentType = TString.ERROR;
break; // end TIBETAN_PUNCTUATION case