ACIP {B} was not being treated like {BA}; instead, an error was resulting. All the five prefixes were affected.

This commit is contained in:
dchandler 2003-12-14 05:54:07 +00:00
parent a0e6db11c0
commit f625c937ee

View file

@ -318,7 +318,9 @@ class TPairList {
// Handle the first pair specially -- it could be a prefix. // Handle the first pair specially -- it could be a prefix.
if (ddebug) System.out.println("i is " + 0); if (ddebug) System.out.println("i is " + 0);
if ((mayHavePrefix = get(0).isPrefix()) && null == get(0).getRight()) { if ((mayHavePrefix = get(0).isPrefix())
&& sz > 1
&& null == get(0).getRight()) {
// special case: we must have a branch in the parse tree // special case: we must have a branch in the parse tree
// for the initial part of this pair list. For example, // for the initial part of this pair list. For example,
// is DKHYA D+KH+YA or D-KH+YA? It depends on prefix // is DKHYA D+KH+YA or D-KH+YA? It depends on prefix