From 6f457f8370de5d96452ee3a2d1b0a97b025ef1d1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 2 Oct 2018 17:46:27 +0200 Subject: [PATCH] [indic] Minor flip grammar around No behavior change. --- src/hb-ot-shape-complex-indic-machine.rl | 2 +- src/hb-ot-shape-complex-use-machine.rl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl index bf5c1c8dc..455938e9c 100644 --- a/src/hb-ot-shape-complex-indic-machine.rl +++ b/src/hb-ot-shape-complex-indic-machine.rl @@ -70,7 +70,7 @@ final_halant_group = halant_group | H.ZWNJ; halant_or_matra_group = (final_halant_group | matra_group{0,4}); -consonant_syllable = (Repha|CS)? (cn.halant_group){0,4} cn halant_or_matra_group syllable_tail; +consonant_syllable = (Repha|CS)? cn (halant_group.cn){0,4} halant_or_matra_group syllable_tail; vowel_syllable = reph? V.n? (ZWJ | (halant_group.cn){0,4} halant_or_matra_group syllable_tail); standalone_cluster = ((Repha|CS)? PLACEHOLDER | reph? DOTTEDCIRCLE).n? (halant_group.cn){0,4} halant_or_matra_group syllable_tail; symbol_cluster = symbol syllable_tail; diff --git a/src/hb-ot-shape-complex-use-machine.rl b/src/hb-ot-shape-complex-use-machine.rl index df50a3e35..0c9ab078c 100644 --- a/src/hb-ot-shape-complex-use-machine.rl +++ b/src/hb-ot-shape-complex-use-machine.rl @@ -110,7 +110,6 @@ standard_cluster = vowel_modifiers final_consonants ; - broken_cluster = R? consonant_modifiers