Now {Pm} is treated like {PAm}; {Pm:} is like {PAm:}; {P:} is like {PA:}.
This commit is contained in:
parent
e7c4cc1874
commit
ac412c994b
5 changed files with 56 additions and 19 deletions
|
@ -213,12 +213,14 @@ class TPair {
|
|||
void getUnicode(StringBuffer sb, boolean subscribed) {
|
||||
if (null != getLeft()) {
|
||||
String x = ACIPRules.getUnicodeFor(getLeft(), subscribed);
|
||||
if (null != x) sb.append(x);
|
||||
if (null == x) throw new Error("TPair: " + getLeft() + " has no Uni");
|
||||
sb.append(x);
|
||||
}
|
||||
if (null != getRight()
|
||||
&& !("-".equals(getRight()) || "A".equals(getRight()))) {
|
||||
&& !("-".equals(getRight()) || "+".equals(getRight()) || "A".equals(getRight()))) {
|
||||
String x = ACIPRules.getUnicodeFor(getRight(), subscribed);
|
||||
if (null != x) sb.append(x);
|
||||
if (null == x) throw new Error("TPair: " + getRight() + " has no Uni");
|
||||
sb.append(x);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue