From c9c771d1ee1df5d0651930b88c53668e85a7c2d5 Mon Sep 17 00:00:00 2001 From: dchandler Date: Sun, 30 Nov 2003 02:18:59 +0000 Subject: [PATCH] ACIP {&}, as in {KO&HAm,}, is supported. --- source/org/thdl/tib/text/ttt/ACIPTshegBarScanner.java | 1 + source/org/thdl/tib/text/ttt/PackageTest.java | 1 + 2 files changed, 2 insertions(+) diff --git a/source/org/thdl/tib/text/ttt/ACIPTshegBarScanner.java b/source/org/thdl/tib/text/ttt/ACIPTshegBarScanner.java index aa4cd12..5c49e5e 100644 --- a/source/org/thdl/tib/text/ttt/ACIPTshegBarScanner.java +++ b/source/org/thdl/tib/text/ttt/ACIPTshegBarScanner.java @@ -790,6 +790,7 @@ public class ACIPTshegBarScanner { case 'x': case 'o': case '^': + case '&': boolean legalTshegBarAdornment = false; // The tsheg bar ends here; new token. diff --git a/source/org/thdl/tib/text/ttt/PackageTest.java b/source/org/thdl/tib/text/ttt/PackageTest.java index e9d8606..115f15a 100644 --- a/source/org/thdl/tib/text/ttt/PackageTest.java +++ b/source/org/thdl/tib/text/ttt/PackageTest.java @@ -7438,6 +7438,7 @@ M+NA } public void testACIPConversion() { + uhelp("KO&HAm,", "\u0F40\u0F7C\u0F85\u0F67\u0F7E\u0F0D"); uhelp("x", "[#ERROR CONVERTING ACIP DOCUMENT: Lexical error: The ACIP x must be glued to the end of a tsheg bar, but this one was not]"); uhelp("o", "[#ERROR CONVERTING ACIP DOCUMENT: Lexical error: The ACIP o must be glued to the end of a tsheg bar, but this one was not]"); uhelp("%", "[#ERROR CONVERTING ACIP DOCUMENT: Lexical error: The ACIP % must be glued to the end of a tsheg bar, but this one was not][#WARNING CONVERTING ACIP DOCUMENT: Lexical warning: The ACIP {%} is treated by this converter as U+0F35, but sometimes might represent U+0F14 in practice]");