summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-01-05 18:03:00 +0000
committerBehdad Esfahbod <behdad@behdad.org>2018-01-05 18:03:00 +0000
commit65795e3ca246bf65b3cb53e3fe65eca312774e3e (patch)
treec6245c9fbec72e62cfbf72abd163067cddb02285
parente13ee937310a7aadd83fd266dae382da40dce4f8 (diff)
[khmer] Simplify grammar some more
Numbers down (from 38): KHMER: 299090 out of 299124 tests passed. 34 failed (0.0113665%)
-rw-r--r--src/hb-ot-shape-complex-khmer-machine.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-shape-complex-khmer-machine.rl b/src/hb-ot-shape-complex-khmer-machine.rl
index 56ec0f29..f127b17c 100644
--- a/src/hb-ot-shape-complex-khmer-machine.rl
+++ b/src/hb-ot-shape-complex-khmer-machine.rl
@@ -57,7 +57,7 @@ n = ((ZWNJ?.RS)? (N.N?)?); # is_consonant_modifier
z = ZWJ|ZWNJ; # is_joiner
cn = c.ZWJ?.n?;
-matra_group = z?.M.N?.Coeng?;
+matra_group = z?.M.N?;
syllable_tail = (SM.SM?)? A{0,3}?;
halant_group = Coeng;
halant_or_matra_group = (matra_group*) (Coeng (cn|V))?;