updated version info and fixed a parsing error.

This commit is contained in:
amontano 2004-06-14 03:42:35 +00:00
parent c5ab3ec552
commit aee8630986
2 changed files with 9 additions and 4 deletions

View file

@ -96,7 +96,7 @@ public class LocalTibetanScanner extends TibetanScanner
while (resultado == null && silSinDec!=null)
{
resultado = silAnterior.lookUp(silSinDec);
if (resultado == null)
if (resultado == null || !resultado.hasDef())
{
silSinDec += "\'";
resultado = silAnterior.lookUp(silSinDec);
@ -133,7 +133,11 @@ public class LocalTibetanScanner extends TibetanScanner
while (resultado==null && silSinDec!=null)
{
resultado = silAnterior.lookUp(silSinDec);
if (resultado == null)
/* here we don't have to worry about being in the middle of a
word since the declension marks that it is the end of a
word.
*/
if (resultado == null || !resultado.hasDef())
{
silSinDec += "\'";
resultado = silAnterior.lookUp(silSinDec);