[indic] Add syllable recognition state machine
Using an incredible tool called Ragel.
diff --git a/src/Makefile.am b/src/Makefile.am
index 8701d94..e58bb50 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -56,6 +56,7 @@
hb-ot-shape-complex-arabic.cc \
hb-ot-shape-complex-arabic-table.hh \
hb-ot-shape-complex-indic.cc \
+ hb-ot-shape-complex-indic-machine.hh \
hb-ot-shape-complex-indic-table.hh \
hb-ot-shape-complex-private.hh \
hb-ot-shape-private.hh \
@@ -121,6 +122,10 @@
EXTRA_DIST += $(GENERATORS)
+BUILT_SOURCES = hb-ot-shape-complex-indic-machine.hh
+hb-ot-shape-complex-indic-machine.hh: hb-ot-shape-complex-indic-machine.rl
+ $(AM_V_GEN)ragel -e -F1 -o $@ $^
+
noinst_PROGRAMS = main test
bin_PROGRAMS =