mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
bugfix in lookupMorpho
This commit is contained in:
@@ -290,13 +290,15 @@ int text_cmp(PgfText *sentence, ref<PgfSequence> seq,
|
|||||||
else if (ucs1i < ucs2i) {
|
else if (ucs1i < ucs2i) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
else if (ucs1 > ucs2) {
|
else if (res1 == 0) {
|
||||||
|
if (ucs1 > ucs2) {
|
||||||
res1 = 1;
|
res1 = 1;
|
||||||
} else if (ucs1 < ucs2) {
|
} else if (ucs1 < ucs2) {
|
||||||
res1 = -1;
|
res1 = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PGF_INTERNAL
|
PGF_INTERNAL
|
||||||
PgfPhrasetable phrasetable_internalize(PgfPhrasetable table,
|
PgfPhrasetable phrasetable_internalize(PgfPhrasetable table,
|
||||||
|
|||||||
Reference in New Issue
Block a user