Minor refactoring
diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc
index e766973..8491047 100644
--- a/src/hb-ot-shape-complex-myanmar.cc
+++ b/src/hb-ot-shape-complex-myanmar.cc
@@ -36,7 +36,7 @@
  */
 
 static const hb_tag_t
-myanmar_features[] =
+basic_features[] =
 {
   /*
    * Basic features.
@@ -46,6 +46,10 @@
   HB_TAG('p','r','e','f'),
   HB_TAG('b','l','w','f'),
   HB_TAG('p','s','t','f'),
+};
+static const hb_tag_t
+other_features[] =
+{
   /*
    * Other features.
    * These features are applied all at once, after final_reordering.
@@ -58,25 +62,6 @@
   HB_TAG('d','i','s','t'),
 };
 
-/*
- * Must be in the same order as the myanmar_features array.
- */
-enum {
-  _RPHF,
-  _PREF,
-  _BLWF,
-  _PSTF,
-
-  _PRES,
-  _ABVS,
-  _BLWS,
-  _PSTS,
-  _DIST,
-
-  MYANMAR_NUM_FEATURES,
-  MYANMAR_BASIC_FEATURES = _PRES /* Don't forget to update this! */
-};
-
 static void
 setup_syllables (const hb_ot_shape_plan_t *plan,
 		 hb_font_t *font,
@@ -104,16 +89,15 @@
   map->add_global_bool_feature (HB_TAG('c','c','m','p'));
 
 
-  unsigned int i = 0;
   map->add_gsub_pause (initial_reordering);
-  for (; i < MYANMAR_BASIC_FEATURES; i++) {
-    map->add_feature (myanmar_features[i], 1, F_GLOBAL | F_MANUAL_JOINERS);
+  for (unsigned int i = 0; i < ARRAY_LENGTH (basic_features); i++)
+  {
+    map->add_feature (basic_features[i], 1, F_GLOBAL | F_MANUAL_JOINERS);
     map->add_gsub_pause (NULL);
   }
   map->add_gsub_pause (final_reordering);
-  for (; i < MYANMAR_NUM_FEATURES; i++) {
-    map->add_feature (myanmar_features[i], 1, F_GLOBAL);
-  }
+  for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++)
+    map->add_feature (other_features[i], 1, F_GLOBAL);
 }
 
 static void