提交 e8eedf26 编写于 作者: B Behdad Esfahbod

Avoid enum trailing commas

Based on patch from Jonathan Kew.
上级 3d0ddd12
......@@ -61,7 +61,7 @@ enum indic_position_t {
POS_BASE,
POS_ABOVE,
POS_BELOW,
POS_POST,
POS_POST
};
/* Categories used in IndicSyllabicCategory.txt from UCD */
......@@ -321,7 +321,7 @@ enum {
HALF,
_VATU,
PSTF,
CJCT,
CJCT
};
static const hb_tag_t indic_other_features[] =
......
......@@ -55,6 +55,8 @@
enum hb_ot_complex_shaper_t {
#define HB_COMPLEX_SHAPER_IMPLEMENT(name) hb_ot_complex_shaper_##name,
HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS
/* Just here to avoid enum trailing comma: */
hb_ot_complex_shaper_generic = hb_ot_complex_shaper_default
#undef HB_COMPLEX_SHAPER_IMPLEMENT
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册