syllable_tail = SM? (VD VD?)?;
action matched_syllable {
- //fprintf (stderr, "Syll %d\n", p);
+ matched_syllable (c, last, p);
+ last = p;
}
consonant_syllable = (c.N? (z.H|H.z?))* c.N? A? (H.z? | matra_group*)? syllable_tail %(matched_syllable);
p = 0;
pe = eof = c->buffer->len;
+ unsigned int last = 0;
%%{
write exec;
}%%
}
+static void
+matched_syllable (hb_ot_shape_context_t *c,
+ unsigned int start,
+ unsigned int end)
+{
+ //fprintf (stderr, "%d %d\n", start, end);
+}
#include "hb-ot-shape-complex-indic-machine.hh"
void
-_hb_ot_shape_complex_setup_masks_indic (hb_ot_shape_context_t *c)
+_hb_ot_shape_complex_setup_masks_indic (hb_ot_shape_context_t *c)
{
unsigned int count = c->buffer->len;