diff --git a/lang/af/af.wasm b/lang/af/af.wasm index 5faa2e6f..6d732488 100644 Binary files a/lang/af/af.wasm and b/lang/af/af.wasm differ diff --git a/lang/af/src/hyphenEngine.ts b/lang/af/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/af/src/hyphenEngine.ts +++ b/lang/af/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/as/as.wasm b/lang/as/as.wasm index 4c3af1e6..a6ae792c 100644 Binary files a/lang/as/as.wasm and b/lang/as/as.wasm differ diff --git a/lang/as/src/hyphenEngine.ts b/lang/as/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/as/src/hyphenEngine.ts +++ b/lang/as/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/be/be.wasm b/lang/be/be.wasm index 988e9484..5a47604f 100644 Binary files a/lang/be/be.wasm and b/lang/be/be.wasm differ diff --git a/lang/be/src/hyphenEngine.ts b/lang/be/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/be/src/hyphenEngine.ts +++ b/lang/be/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/bg/bg.wasm b/lang/bg/bg.wasm index 66fc1eaa..2d23d4e5 100644 Binary files a/lang/bg/bg.wasm and b/lang/bg/bg.wasm differ diff --git a/lang/bg/src/hyphenEngine.ts b/lang/bg/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/bg/src/hyphenEngine.ts +++ b/lang/bg/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/bn/bn.wasm b/lang/bn/bn.wasm index 766ef097..fe12a19d 100644 Binary files a/lang/bn/bn.wasm and b/lang/bn/bn.wasm differ diff --git a/lang/bn/src/hyphenEngine.ts b/lang/bn/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/bn/src/hyphenEngine.ts +++ b/lang/bn/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ca/ca.wasm b/lang/ca/ca.wasm index 18430d89..9ac9b0d4 100644 Binary files a/lang/ca/ca.wasm and b/lang/ca/ca.wasm differ diff --git a/lang/ca/src/hyphenEngine.ts b/lang/ca/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ca/src/hyphenEngine.ts +++ b/lang/ca/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/cs/cs.wasm b/lang/cs/cs.wasm index 6ad47101..b93b0bac 100644 Binary files a/lang/cs/cs.wasm and b/lang/cs/cs.wasm differ diff --git a/lang/cs/src/hyphenEngine.ts b/lang/cs/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/cs/src/hyphenEngine.ts +++ b/lang/cs/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/cy/cy.wasm b/lang/cy/cy.wasm index 04b6d2f7..4669d2e4 100644 Binary files a/lang/cy/cy.wasm and b/lang/cy/cy.wasm differ diff --git a/lang/cy/src/hyphenEngine.ts b/lang/cy/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/cy/src/hyphenEngine.ts +++ b/lang/cy/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/da/da.wasm b/lang/da/da.wasm index ffe3027a..1541df56 100644 Binary files a/lang/da/da.wasm and b/lang/da/da.wasm differ diff --git a/lang/da/src/hyphenEngine.ts b/lang/da/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/da/src/hyphenEngine.ts +++ b/lang/da/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/de/de.wasm b/lang/de/de.wasm index c005f582..eb645044 100644 Binary files a/lang/de/de.wasm and b/lang/de/de.wasm differ diff --git a/lang/de/src/hyphenEngine.ts b/lang/de/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/de/src/hyphenEngine.ts +++ b/lang/de/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/el-monoton/el-monoton.wasm b/lang/el-monoton/el-monoton.wasm index 7e10a2cd..5197ebbd 100644 Binary files a/lang/el-monoton/el-monoton.wasm and b/lang/el-monoton/el-monoton.wasm differ diff --git a/lang/el-monoton/src/hyphenEngine.ts b/lang/el-monoton/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/el-monoton/src/hyphenEngine.ts +++ b/lang/el-monoton/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/el-polyton/el-polyton.wasm b/lang/el-polyton/el-polyton.wasm index 25c2df69..10f756d8 100644 Binary files a/lang/el-polyton/el-polyton.wasm and b/lang/el-polyton/el-polyton.wasm differ diff --git a/lang/el-polyton/src/hyphenEngine.ts b/lang/el-polyton/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/el-polyton/src/hyphenEngine.ts +++ b/lang/el-polyton/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/en-gb/en-gb.wasm b/lang/en-gb/en-gb.wasm index 498cfaf9..8bb97fa6 100644 Binary files a/lang/en-gb/en-gb.wasm and b/lang/en-gb/en-gb.wasm differ diff --git a/lang/en-gb/src/hyphenEngine.ts b/lang/en-gb/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/en-gb/src/hyphenEngine.ts +++ b/lang/en-gb/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/eo/eo.wasm b/lang/eo/eo.wasm index bade4f95..5183d384 100644 Binary files a/lang/eo/eo.wasm and b/lang/eo/eo.wasm differ diff --git a/lang/eo/src/hyphenEngine.ts b/lang/eo/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/eo/src/hyphenEngine.ts +++ b/lang/eo/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/es/es.wasm b/lang/es/es.wasm index 18fe3715..4b9a4f71 100644 Binary files a/lang/es/es.wasm and b/lang/es/es.wasm differ diff --git a/lang/es/src/hyphenEngine.ts b/lang/es/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/es/src/hyphenEngine.ts +++ b/lang/es/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/et/et.wasm b/lang/et/et.wasm index 3aa138cf..fcebe2ba 100644 Binary files a/lang/et/et.wasm and b/lang/et/et.wasm differ diff --git a/lang/et/src/hyphenEngine.ts b/lang/et/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/et/src/hyphenEngine.ts +++ b/lang/et/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/eu/eu.wasm b/lang/eu/eu.wasm index 489cef1e..5212711a 100644 Binary files a/lang/eu/eu.wasm and b/lang/eu/eu.wasm differ diff --git a/lang/eu/src/hyphenEngine.ts b/lang/eu/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/eu/src/hyphenEngine.ts +++ b/lang/eu/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/fi/fi.wasm b/lang/fi/fi.wasm index 2b0c005c..196b131a 100644 Binary files a/lang/fi/fi.wasm and b/lang/fi/fi.wasm differ diff --git a/lang/fi/src/hyphenEngine.ts b/lang/fi/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/fi/src/hyphenEngine.ts +++ b/lang/fi/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/fr/fr.wasm b/lang/fr/fr.wasm index 981ead8f..8d72ad48 100644 Binary files a/lang/fr/fr.wasm and b/lang/fr/fr.wasm differ diff --git a/lang/fr/src/hyphenEngine.ts b/lang/fr/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/fr/src/hyphenEngine.ts +++ b/lang/fr/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/fur/fur.wasm b/lang/fur/fur.wasm index 42a55adc..a5aa3b60 100644 Binary files a/lang/fur/fur.wasm and b/lang/fur/fur.wasm differ diff --git a/lang/fur/src/hyphenEngine.ts b/lang/fur/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/fur/src/hyphenEngine.ts +++ b/lang/fur/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ga/ga.wasm b/lang/ga/ga.wasm index 7dbe0ea0..6a91e6c6 100644 Binary files a/lang/ga/ga.wasm and b/lang/ga/ga.wasm differ diff --git a/lang/ga/src/hyphenEngine.ts b/lang/ga/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ga/src/hyphenEngine.ts +++ b/lang/ga/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/gl/gl.wasm b/lang/gl/gl.wasm index 90b7f25a..59e07ef2 100644 Binary files a/lang/gl/gl.wasm and b/lang/gl/gl.wasm differ diff --git a/lang/gl/src/hyphenEngine.ts b/lang/gl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/gl/src/hyphenEngine.ts +++ b/lang/gl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/gu/gu.wasm b/lang/gu/gu.wasm index e791bab1..835348df 100644 Binary files a/lang/gu/gu.wasm and b/lang/gu/gu.wasm differ diff --git a/lang/gu/src/hyphenEngine.ts b/lang/gu/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/gu/src/hyphenEngine.ts +++ b/lang/gu/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/hi/hi.wasm b/lang/hi/hi.wasm index 04f972c0..3cb80086 100644 Binary files a/lang/hi/hi.wasm and b/lang/hi/hi.wasm differ diff --git a/lang/hi/src/hyphenEngine.ts b/lang/hi/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/hi/src/hyphenEngine.ts +++ b/lang/hi/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/hr/hr.wasm b/lang/hr/hr.wasm index 3f332c8d..ba458e85 100644 Binary files a/lang/hr/hr.wasm and b/lang/hr/hr.wasm differ diff --git a/lang/hr/src/hyphenEngine.ts b/lang/hr/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/hr/src/hyphenEngine.ts +++ b/lang/hr/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/hsb/hsb.wasm b/lang/hsb/hsb.wasm index be303fc4..e018e604 100644 Binary files a/lang/hsb/hsb.wasm and b/lang/hsb/hsb.wasm differ diff --git a/lang/hsb/src/hyphenEngine.ts b/lang/hsb/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/hsb/src/hyphenEngine.ts +++ b/lang/hsb/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/hu/hu.wasm b/lang/hu/hu.wasm index 005fb080..f1c0c5c8 100644 Binary files a/lang/hu/hu.wasm and b/lang/hu/hu.wasm differ diff --git a/lang/hu/src/hyphenEngine.ts b/lang/hu/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/hu/src/hyphenEngine.ts +++ b/lang/hu/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/hy/hy.wasm b/lang/hy/hy.wasm index a4b9d91a..51ccfdab 100644 Binary files a/lang/hy/hy.wasm and b/lang/hy/hy.wasm differ diff --git a/lang/hy/src/hyphenEngine.ts b/lang/hy/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/hy/src/hyphenEngine.ts +++ b/lang/hy/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ia/ia.wasm b/lang/ia/ia.wasm index 76a5b080..64e384c0 100644 Binary files a/lang/ia/ia.wasm and b/lang/ia/ia.wasm differ diff --git a/lang/ia/src/hyphenEngine.ts b/lang/ia/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ia/src/hyphenEngine.ts +++ b/lang/ia/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/id/id.wasm b/lang/id/id.wasm index afbbbc77..32806af3 100644 Binary files a/lang/id/id.wasm and b/lang/id/id.wasm differ diff --git a/lang/id/src/hyphenEngine.ts b/lang/id/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/id/src/hyphenEngine.ts +++ b/lang/id/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/is/is.wasm b/lang/is/is.wasm index 9cb75bd3..0acc6dad 100644 Binary files a/lang/is/is.wasm and b/lang/is/is.wasm differ diff --git a/lang/is/src/hyphenEngine.ts b/lang/is/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/is/src/hyphenEngine.ts +++ b/lang/is/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/it/it.wasm b/lang/it/it.wasm index 0516d4f8..c072d7fe 100644 Binary files a/lang/it/it.wasm and b/lang/it/it.wasm differ diff --git a/lang/it/src/hyphenEngine.ts b/lang/it/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/it/src/hyphenEngine.ts +++ b/lang/it/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ka/ka.wasm b/lang/ka/ka.wasm index 31e77924..b49f7c87 100644 Binary files a/lang/ka/ka.wasm and b/lang/ka/ka.wasm differ diff --git a/lang/ka/src/hyphenEngine.ts b/lang/ka/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ka/src/hyphenEngine.ts +++ b/lang/ka/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/kmr/kmr.wasm b/lang/kmr/kmr.wasm index a98f2fa1..ed175aa4 100644 Binary files a/lang/kmr/kmr.wasm and b/lang/kmr/kmr.wasm differ diff --git a/lang/kmr/src/hyphenEngine.ts b/lang/kmr/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/kmr/src/hyphenEngine.ts +++ b/lang/kmr/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/kn/kn.wasm b/lang/kn/kn.wasm index 619be231..c11cafd0 100644 Binary files a/lang/kn/kn.wasm and b/lang/kn/kn.wasm differ diff --git a/lang/kn/src/hyphenEngine.ts b/lang/kn/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/kn/src/hyphenEngine.ts +++ b/lang/kn/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/la/la.wasm b/lang/la/la.wasm index f92ecd32..4c1e33a0 100644 Binary files a/lang/la/la.wasm and b/lang/la/la.wasm differ diff --git a/lang/la/src/hyphenEngine.ts b/lang/la/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/la/src/hyphenEngine.ts +++ b/lang/la/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/lt/lt.wasm b/lang/lt/lt.wasm index 35b41f12..f2733c99 100644 Binary files a/lang/lt/lt.wasm and b/lang/lt/lt.wasm differ diff --git a/lang/lt/src/hyphenEngine.ts b/lang/lt/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/lt/src/hyphenEngine.ts +++ b/lang/lt/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/lv/lv.wasm b/lang/lv/lv.wasm index 36fa9a0a..472ad148 100644 Binary files a/lang/lv/lv.wasm and b/lang/lv/lv.wasm differ diff --git a/lang/lv/src/hyphenEngine.ts b/lang/lv/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/lv/src/hyphenEngine.ts +++ b/lang/lv/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/mk/mk.wasm b/lang/mk/mk.wasm index 0b281280..9875db3b 100644 Binary files a/lang/mk/mk.wasm and b/lang/mk/mk.wasm differ diff --git a/lang/mk/src/hyphenEngine.ts b/lang/mk/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/mk/src/hyphenEngine.ts +++ b/lang/mk/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ml/ml.wasm b/lang/ml/ml.wasm index 5af9d115..5efe81b4 100644 Binary files a/lang/ml/ml.wasm and b/lang/ml/ml.wasm differ diff --git a/lang/ml/src/hyphenEngine.ts b/lang/ml/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ml/src/hyphenEngine.ts +++ b/lang/ml/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/mn-cyrl/mn-cyrl.wasm b/lang/mn-cyrl/mn-cyrl.wasm index 3dd02a73..68106852 100644 Binary files a/lang/mn-cyrl/mn-cyrl.wasm and b/lang/mn-cyrl/mn-cyrl.wasm differ diff --git a/lang/mn-cyrl/src/hyphenEngine.ts b/lang/mn-cyrl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/mn-cyrl/src/hyphenEngine.ts +++ b/lang/mn-cyrl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/mr/mr.wasm b/lang/mr/mr.wasm index 3162a331..ff3d5242 100644 Binary files a/lang/mr/mr.wasm and b/lang/mr/mr.wasm differ diff --git a/lang/mr/src/hyphenEngine.ts b/lang/mr/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/mr/src/hyphenEngine.ts +++ b/lang/mr/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/nb/nb.wasm b/lang/nb/nb.wasm index 94485326..b3e9c17b 100644 Binary files a/lang/nb/nb.wasm and b/lang/nb/nb.wasm differ diff --git a/lang/nb/src/hyphenEngine.ts b/lang/nb/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/nb/src/hyphenEngine.ts +++ b/lang/nb/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/nl/nl.wasm b/lang/nl/nl.wasm index 4801f466..0730e333 100644 Binary files a/lang/nl/nl.wasm and b/lang/nl/nl.wasm differ diff --git a/lang/nl/src/hyphenEngine.ts b/lang/nl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/nl/src/hyphenEngine.ts +++ b/lang/nl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/nn/nn.wasm b/lang/nn/nn.wasm index 39c33526..f4861aee 100644 Binary files a/lang/nn/nn.wasm and b/lang/nn/nn.wasm differ diff --git a/lang/nn/src/hyphenEngine.ts b/lang/nn/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/nn/src/hyphenEngine.ts +++ b/lang/nn/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/no/no.wasm b/lang/no/no.wasm index b039b081..83db8514 100644 Binary files a/lang/no/no.wasm and b/lang/no/no.wasm differ diff --git a/lang/no/src/hyphenEngine.ts b/lang/no/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/no/src/hyphenEngine.ts +++ b/lang/no/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/oc/oc.wasm b/lang/oc/oc.wasm index 267638a7..0f0786e4 100644 Binary files a/lang/oc/oc.wasm and b/lang/oc/oc.wasm differ diff --git a/lang/oc/src/hyphenEngine.ts b/lang/oc/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/oc/src/hyphenEngine.ts +++ b/lang/oc/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/or/or.wasm b/lang/or/or.wasm index 20593a83..6c090281 100644 Binary files a/lang/or/or.wasm and b/lang/or/or.wasm differ diff --git a/lang/or/src/hyphenEngine.ts b/lang/or/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/or/src/hyphenEngine.ts +++ b/lang/or/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/pa/pa.wasm b/lang/pa/pa.wasm index 6aae7a5f..05e59147 100644 Binary files a/lang/pa/pa.wasm and b/lang/pa/pa.wasm differ diff --git a/lang/pa/src/hyphenEngine.ts b/lang/pa/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/pa/src/hyphenEngine.ts +++ b/lang/pa/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/pl/pl.wasm b/lang/pl/pl.wasm index 5ada1019..1be9aa1b 100644 Binary files a/lang/pl/pl.wasm and b/lang/pl/pl.wasm differ diff --git a/lang/pl/src/hyphenEngine.ts b/lang/pl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/pl/src/hyphenEngine.ts +++ b/lang/pl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/pms/pms.wasm b/lang/pms/pms.wasm index 35de5465..8fedd454 100644 Binary files a/lang/pms/pms.wasm and b/lang/pms/pms.wasm differ diff --git a/lang/pms/src/hyphenEngine.ts b/lang/pms/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/pms/src/hyphenEngine.ts +++ b/lang/pms/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/pt/pt.wasm b/lang/pt/pt.wasm index ed41c326..a46f2538 100644 Binary files a/lang/pt/pt.wasm and b/lang/pt/pt.wasm differ diff --git a/lang/pt/src/hyphenEngine.ts b/lang/pt/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/pt/src/hyphenEngine.ts +++ b/lang/pt/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/rm/rm.wasm b/lang/rm/rm.wasm index 199d31ce..c7cc0203 100644 Binary files a/lang/rm/rm.wasm and b/lang/rm/rm.wasm differ diff --git a/lang/rm/src/hyphenEngine.ts b/lang/rm/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/rm/src/hyphenEngine.ts +++ b/lang/rm/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ro/ro.wasm b/lang/ro/ro.wasm index 1445eb82..fb2ae959 100644 Binary files a/lang/ro/ro.wasm and b/lang/ro/ro.wasm differ diff --git a/lang/ro/src/hyphenEngine.ts b/lang/ro/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ro/src/hyphenEngine.ts +++ b/lang/ro/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ru/ru.wasm b/lang/ru/ru.wasm index 508a9720..9e84de70 100644 Binary files a/lang/ru/ru.wasm and b/lang/ru/ru.wasm differ diff --git a/lang/ru/src/hyphenEngine.ts b/lang/ru/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ru/src/hyphenEngine.ts +++ b/lang/ru/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sh-cyrl/sh-cyrl.wasm b/lang/sh-cyrl/sh-cyrl.wasm index 2caf4905..f9bcf72a 100644 Binary files a/lang/sh-cyrl/sh-cyrl.wasm and b/lang/sh-cyrl/sh-cyrl.wasm differ diff --git a/lang/sh-cyrl/src/hyphenEngine.ts b/lang/sh-cyrl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/sh-cyrl/src/hyphenEngine.ts +++ b/lang/sh-cyrl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sh-latn/sh-latn.wasm b/lang/sh-latn/sh-latn.wasm index c1bffce6..20d0881a 100644 Binary files a/lang/sh-latn/sh-latn.wasm and b/lang/sh-latn/sh-latn.wasm differ diff --git a/lang/sh-latn/src/hyphenEngine.ts b/lang/sh-latn/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/sh-latn/src/hyphenEngine.ts +++ b/lang/sh-latn/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sk/sk.wasm b/lang/sk/sk.wasm index 40f3ecf7..ef119efa 100644 Binary files a/lang/sk/sk.wasm and b/lang/sk/sk.wasm differ diff --git a/lang/sk/src/hyphenEngine.ts b/lang/sk/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/sk/src/hyphenEngine.ts +++ b/lang/sk/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sl/sl.wasm b/lang/sl/sl.wasm index 8d01d7c7..2053efe4 100644 Binary files a/lang/sl/sl.wasm and b/lang/sl/sl.wasm differ diff --git a/lang/sl/src/hyphenEngine.ts b/lang/sl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/sl/src/hyphenEngine.ts +++ b/lang/sl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sr-cyrl/sr-cyrl.wasm b/lang/sr-cyrl/sr-cyrl.wasm index 4d644af1..2c64cf74 100644 Binary files a/lang/sr-cyrl/sr-cyrl.wasm and b/lang/sr-cyrl/sr-cyrl.wasm differ diff --git a/lang/sr-cyrl/src/hyphenEngine.ts b/lang/sr-cyrl/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/sr-cyrl/src/hyphenEngine.ts +++ b/lang/sr-cyrl/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sv/src/hyphenEngine.ts b/lang/sv/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/sv/src/hyphenEngine.ts +++ b/lang/sv/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/sv/sv.wasm b/lang/sv/sv.wasm index f53308fe..2151e24e 100644 Binary files a/lang/sv/sv.wasm and b/lang/sv/sv.wasm differ diff --git a/lang/ta/src/hyphenEngine.ts b/lang/ta/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/ta/src/hyphenEngine.ts +++ b/lang/ta/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/ta/ta.wasm b/lang/ta/ta.wasm index aeb4b2bb..e99e9454 100644 Binary files a/lang/ta/ta.wasm and b/lang/ta/ta.wasm differ diff --git a/lang/te/src/hyphenEngine.ts b/lang/te/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/te/src/hyphenEngine.ts +++ b/lang/te/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/te/te.wasm b/lang/te/te.wasm index 2b73d1c9..b4aa84cf 100644 Binary files a/lang/te/te.wasm and b/lang/te/te.wasm differ diff --git a/lang/th/src/hyphenEngine.ts b/lang/th/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/th/src/hyphenEngine.ts +++ b/lang/th/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/th/th.wasm b/lang/th/th.wasm index f5892768..2d56aea2 100644 Binary files a/lang/th/th.wasm and b/lang/th/th.wasm differ diff --git a/lang/tk/src/hyphenEngine.ts b/lang/tk/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/tk/src/hyphenEngine.ts +++ b/lang/tk/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/tk/tk.wasm b/lang/tk/tk.wasm index da564899..202355ff 100644 Binary files a/lang/tk/tk.wasm and b/lang/tk/tk.wasm differ diff --git a/lang/tr/src/hyphenEngine.ts b/lang/tr/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/tr/src/hyphenEngine.ts +++ b/lang/tr/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/tr/tr.wasm b/lang/tr/tr.wasm index 60b23f99..e5c82c92 100644 Binary files a/lang/tr/tr.wasm and b/lang/tr/tr.wasm differ diff --git a/lang/uk/src/hyphenEngine.ts b/lang/uk/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/uk/src/hyphenEngine.ts +++ b/lang/uk/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/uk/uk.wasm b/lang/uk/uk.wasm index be4654c7..1dd3ccf9 100644 Binary files a/lang/uk/uk.wasm and b/lang/uk/uk.wasm differ diff --git a/lang/zh-latn-pinyin/src/hyphenEngine.ts b/lang/zh-latn-pinyin/src/hyphenEngine.ts index ccddb249..4e47ce89 100644 --- a/lang/zh-latn-pinyin/src/hyphenEngine.ts +++ b/lang/zh-latn-pinyin/src/hyphenEngine.ts @@ -224,9 +224,11 @@ export function hyphenate(lmin: i32, rmin: i32, hc: i32): i32 { hyphenPointsCount = 0; hyphenPoint = load(value); while (hyphenPoint !== 255) { - hpPos = patternStartPos + hyphenPointsCount; - if (hyphenPoint > load(hpPos, hp)) { - store(hpPos, hyphenPoint, hp); + if (hyphenPoint !== 0) { + hpPos = patternStartPos + hyphenPointsCount; + if (hyphenPoint > load(hpPos, hp)) { + store(hpPos, hyphenPoint, hp); + } } hyphenPointsCount += 1; hyphenPoint = load(value + hyphenPointsCount); diff --git a/lang/zh-latn-pinyin/zh-latn-pinyin.wasm b/lang/zh-latn-pinyin/zh-latn-pinyin.wasm index aa525ecc..14a3be13 100644 Binary files a/lang/zh-latn-pinyin/zh-latn-pinyin.wasm and b/lang/zh-latn-pinyin/zh-latn-pinyin.wasm differ diff --git a/patterns/af.wasm b/patterns/af.wasm index 5faa2e6f..6d732488 100644 Binary files a/patterns/af.wasm and b/patterns/af.wasm differ diff --git a/patterns/as.wasm b/patterns/as.wasm index 4c3af1e6..a6ae792c 100644 Binary files a/patterns/as.wasm and b/patterns/as.wasm differ diff --git a/patterns/be.wasm b/patterns/be.wasm index 988e9484..5a47604f 100644 Binary files a/patterns/be.wasm and b/patterns/be.wasm differ diff --git a/patterns/bg.wasm b/patterns/bg.wasm index 66fc1eaa..2d23d4e5 100644 Binary files a/patterns/bg.wasm and b/patterns/bg.wasm differ diff --git a/patterns/bn.wasm b/patterns/bn.wasm index 766ef097..fe12a19d 100644 Binary files a/patterns/bn.wasm and b/patterns/bn.wasm differ diff --git a/patterns/ca.wasm b/patterns/ca.wasm index 18430d89..9ac9b0d4 100644 Binary files a/patterns/ca.wasm and b/patterns/ca.wasm differ diff --git a/patterns/cs.wasm b/patterns/cs.wasm index 6ad47101..b93b0bac 100644 Binary files a/patterns/cs.wasm and b/patterns/cs.wasm differ diff --git a/patterns/cy.wasm b/patterns/cy.wasm index 04b6d2f7..4669d2e4 100644 Binary files a/patterns/cy.wasm and b/patterns/cy.wasm differ diff --git a/patterns/da.wasm b/patterns/da.wasm index ffe3027a..1541df56 100644 Binary files a/patterns/da.wasm and b/patterns/da.wasm differ diff --git a/patterns/de.wasm b/patterns/de.wasm index c005f582..eb645044 100644 Binary files a/patterns/de.wasm and b/patterns/de.wasm differ diff --git a/patterns/el-monoton.wasm b/patterns/el-monoton.wasm index 7e10a2cd..5197ebbd 100644 Binary files a/patterns/el-monoton.wasm and b/patterns/el-monoton.wasm differ diff --git a/patterns/el-polyton.wasm b/patterns/el-polyton.wasm index 25c2df69..10f756d8 100644 Binary files a/patterns/el-polyton.wasm and b/patterns/el-polyton.wasm differ diff --git a/patterns/en-gb.wasm b/patterns/en-gb.wasm index 498cfaf9..8bb97fa6 100644 Binary files a/patterns/en-gb.wasm and b/patterns/en-gb.wasm differ diff --git a/patterns/eo.wasm b/patterns/eo.wasm index bade4f95..5183d384 100644 Binary files a/patterns/eo.wasm and b/patterns/eo.wasm differ diff --git a/patterns/es.wasm b/patterns/es.wasm index 18fe3715..4b9a4f71 100644 Binary files a/patterns/es.wasm and b/patterns/es.wasm differ diff --git a/patterns/et.wasm b/patterns/et.wasm index 3aa138cf..fcebe2ba 100644 Binary files a/patterns/et.wasm and b/patterns/et.wasm differ diff --git a/patterns/eu.wasm b/patterns/eu.wasm index 489cef1e..5212711a 100644 Binary files a/patterns/eu.wasm and b/patterns/eu.wasm differ diff --git a/patterns/fi.wasm b/patterns/fi.wasm index 2b0c005c..196b131a 100644 Binary files a/patterns/fi.wasm and b/patterns/fi.wasm differ diff --git a/patterns/fr.wasm b/patterns/fr.wasm index 981ead8f..8d72ad48 100644 Binary files a/patterns/fr.wasm and b/patterns/fr.wasm differ diff --git a/patterns/fur.wasm b/patterns/fur.wasm index 42a55adc..a5aa3b60 100644 Binary files a/patterns/fur.wasm and b/patterns/fur.wasm differ diff --git a/patterns/ga.wasm b/patterns/ga.wasm index 7dbe0ea0..6a91e6c6 100644 Binary files a/patterns/ga.wasm and b/patterns/ga.wasm differ diff --git a/patterns/gl.wasm b/patterns/gl.wasm index 90b7f25a..59e07ef2 100644 Binary files a/patterns/gl.wasm and b/patterns/gl.wasm differ diff --git a/patterns/gu.wasm b/patterns/gu.wasm index e791bab1..835348df 100644 Binary files a/patterns/gu.wasm and b/patterns/gu.wasm differ diff --git a/patterns/hi.wasm b/patterns/hi.wasm index 04f972c0..3cb80086 100644 Binary files a/patterns/hi.wasm and b/patterns/hi.wasm differ diff --git a/patterns/hr.wasm b/patterns/hr.wasm index 3f332c8d..ba458e85 100644 Binary files a/patterns/hr.wasm and b/patterns/hr.wasm differ diff --git a/patterns/hsb.wasm b/patterns/hsb.wasm index be303fc4..e018e604 100644 Binary files a/patterns/hsb.wasm and b/patterns/hsb.wasm differ diff --git a/patterns/hu.wasm b/patterns/hu.wasm index 005fb080..f1c0c5c8 100644 Binary files a/patterns/hu.wasm and b/patterns/hu.wasm differ diff --git a/patterns/hy.wasm b/patterns/hy.wasm index a4b9d91a..51ccfdab 100644 Binary files a/patterns/hy.wasm and b/patterns/hy.wasm differ diff --git a/patterns/ia.wasm b/patterns/ia.wasm index 76a5b080..64e384c0 100644 Binary files a/patterns/ia.wasm and b/patterns/ia.wasm differ diff --git a/patterns/id.wasm b/patterns/id.wasm index afbbbc77..32806af3 100644 Binary files a/patterns/id.wasm and b/patterns/id.wasm differ diff --git a/patterns/is.wasm b/patterns/is.wasm index 9cb75bd3..0acc6dad 100644 Binary files a/patterns/is.wasm and b/patterns/is.wasm differ diff --git a/patterns/it.wasm b/patterns/it.wasm index 0516d4f8..c072d7fe 100644 Binary files a/patterns/it.wasm and b/patterns/it.wasm differ diff --git a/patterns/ka.wasm b/patterns/ka.wasm index 31e77924..b49f7c87 100644 Binary files a/patterns/ka.wasm and b/patterns/ka.wasm differ diff --git a/patterns/kmr.wasm b/patterns/kmr.wasm index a98f2fa1..ed175aa4 100644 Binary files a/patterns/kmr.wasm and b/patterns/kmr.wasm differ diff --git a/patterns/kn.wasm b/patterns/kn.wasm index 619be231..c11cafd0 100644 Binary files a/patterns/kn.wasm and b/patterns/kn.wasm differ diff --git a/patterns/la.wasm b/patterns/la.wasm index f92ecd32..4c1e33a0 100644 Binary files a/patterns/la.wasm and b/patterns/la.wasm differ diff --git a/patterns/lt.wasm b/patterns/lt.wasm index 35b41f12..f2733c99 100644 Binary files a/patterns/lt.wasm and b/patterns/lt.wasm differ diff --git a/patterns/lv.wasm b/patterns/lv.wasm index 36fa9a0a..472ad148 100644 Binary files a/patterns/lv.wasm and b/patterns/lv.wasm differ diff --git a/patterns/mk.wasm b/patterns/mk.wasm index 0b281280..9875db3b 100644 Binary files a/patterns/mk.wasm and b/patterns/mk.wasm differ diff --git a/patterns/ml.wasm b/patterns/ml.wasm index 5af9d115..5efe81b4 100644 Binary files a/patterns/ml.wasm and b/patterns/ml.wasm differ diff --git a/patterns/mn-cyrl.wasm b/patterns/mn-cyrl.wasm index 3dd02a73..68106852 100644 Binary files a/patterns/mn-cyrl.wasm and b/patterns/mn-cyrl.wasm differ diff --git a/patterns/mr.wasm b/patterns/mr.wasm index 3162a331..ff3d5242 100644 Binary files a/patterns/mr.wasm and b/patterns/mr.wasm differ diff --git a/patterns/nb.wasm b/patterns/nb.wasm index 94485326..b3e9c17b 100644 Binary files a/patterns/nb.wasm and b/patterns/nb.wasm differ diff --git a/patterns/nl.wasm b/patterns/nl.wasm index 4801f466..0730e333 100644 Binary files a/patterns/nl.wasm and b/patterns/nl.wasm differ diff --git a/patterns/nn.wasm b/patterns/nn.wasm index 39c33526..f4861aee 100644 Binary files a/patterns/nn.wasm and b/patterns/nn.wasm differ diff --git a/patterns/no.wasm b/patterns/no.wasm index b039b081..83db8514 100644 Binary files a/patterns/no.wasm and b/patterns/no.wasm differ diff --git a/patterns/oc.wasm b/patterns/oc.wasm index 267638a7..0f0786e4 100644 Binary files a/patterns/oc.wasm and b/patterns/oc.wasm differ diff --git a/patterns/or.wasm b/patterns/or.wasm index 20593a83..6c090281 100644 Binary files a/patterns/or.wasm and b/patterns/or.wasm differ diff --git a/patterns/pa.wasm b/patterns/pa.wasm index 6aae7a5f..05e59147 100644 Binary files a/patterns/pa.wasm and b/patterns/pa.wasm differ diff --git a/patterns/pl.wasm b/patterns/pl.wasm index 5ada1019..1be9aa1b 100644 Binary files a/patterns/pl.wasm and b/patterns/pl.wasm differ diff --git a/patterns/pms.wasm b/patterns/pms.wasm index 35de5465..8fedd454 100644 Binary files a/patterns/pms.wasm and b/patterns/pms.wasm differ diff --git a/patterns/pt.wasm b/patterns/pt.wasm index ed41c326..a46f2538 100644 Binary files a/patterns/pt.wasm and b/patterns/pt.wasm differ diff --git a/patterns/rm.wasm b/patterns/rm.wasm index 199d31ce..c7cc0203 100644 Binary files a/patterns/rm.wasm and b/patterns/rm.wasm differ diff --git a/patterns/ro.wasm b/patterns/ro.wasm index 1445eb82..fb2ae959 100644 Binary files a/patterns/ro.wasm and b/patterns/ro.wasm differ diff --git a/patterns/ru.wasm b/patterns/ru.wasm index 508a9720..9e84de70 100644 Binary files a/patterns/ru.wasm and b/patterns/ru.wasm differ diff --git a/patterns/sh-cyrl.wasm b/patterns/sh-cyrl.wasm index 2caf4905..f9bcf72a 100644 Binary files a/patterns/sh-cyrl.wasm and b/patterns/sh-cyrl.wasm differ diff --git a/patterns/sh-latn.wasm b/patterns/sh-latn.wasm index c1bffce6..20d0881a 100644 Binary files a/patterns/sh-latn.wasm and b/patterns/sh-latn.wasm differ diff --git a/patterns/sk.wasm b/patterns/sk.wasm index 40f3ecf7..ef119efa 100644 Binary files a/patterns/sk.wasm and b/patterns/sk.wasm differ diff --git a/patterns/sl.wasm b/patterns/sl.wasm index 8d01d7c7..2053efe4 100644 Binary files a/patterns/sl.wasm and b/patterns/sl.wasm differ diff --git a/patterns/sr-cyrl.wasm b/patterns/sr-cyrl.wasm index 4d644af1..2c64cf74 100644 Binary files a/patterns/sr-cyrl.wasm and b/patterns/sr-cyrl.wasm differ diff --git a/patterns/sv.wasm b/patterns/sv.wasm index f53308fe..2151e24e 100644 Binary files a/patterns/sv.wasm and b/patterns/sv.wasm differ diff --git a/patterns/ta.wasm b/patterns/ta.wasm index aeb4b2bb..e99e9454 100644 Binary files a/patterns/ta.wasm and b/patterns/ta.wasm differ diff --git a/patterns/te.wasm b/patterns/te.wasm index 2b73d1c9..b4aa84cf 100644 Binary files a/patterns/te.wasm and b/patterns/te.wasm differ diff --git a/patterns/th.wasm b/patterns/th.wasm index f5892768..2d56aea2 100644 Binary files a/patterns/th.wasm and b/patterns/th.wasm differ diff --git a/patterns/tk.wasm b/patterns/tk.wasm index da564899..202355ff 100644 Binary files a/patterns/tk.wasm and b/patterns/tk.wasm differ diff --git a/patterns/tr.wasm b/patterns/tr.wasm index 60b23f99..e5c82c92 100644 Binary files a/patterns/tr.wasm and b/patterns/tr.wasm differ diff --git a/patterns/uk.wasm b/patterns/uk.wasm index be4654c7..1dd3ccf9 100644 Binary files a/patterns/uk.wasm and b/patterns/uk.wasm differ diff --git a/patterns/zh-latn-pinyin.wasm b/patterns/zh-latn-pinyin.wasm index aa525ecc..14a3be13 100644 Binary files a/patterns/zh-latn-pinyin.wasm and b/patterns/zh-latn-pinyin.wasm differ