1 /* See LICENSE file for copyright and license details. */
6 #define FILE_EMOJI "data/emoji-data.txt"
7 #define FILE_GRAPHEME "data/GraphemeBreakProperty.txt"
9 static const struct property_spec char_break_property[] = {
16 .enumname = "CONTROL",
17 .file = FILE_GRAPHEME,
22 .file = FILE_GRAPHEME,
27 .file = FILE_GRAPHEME,
31 .enumname = "EXTENDED_PICTOGRAPHIC",
33 .ucdname = "Extended_Pictographic",
36 .enumname = "HANGUL_L",
37 .file = FILE_GRAPHEME,
41 .enumname = "HANGUL_V",
42 .file = FILE_GRAPHEME,
46 .enumname = "HANGUL_T",
47 .file = FILE_GRAPHEME,
51 .enumname = "HANGUL_LV",
52 .file = FILE_GRAPHEME,
56 .enumname = "HANGUL_LVT",
57 .file = FILE_GRAPHEME,
62 .file = FILE_GRAPHEME,
66 .enumname = "PREPEND",
67 .file = FILE_GRAPHEME,
71 .enumname = "REGIONAL_INDICATOR",
72 .file = FILE_GRAPHEME,
73 .ucdname = "Regional_Indicator",
76 .enumname = "SPACINGMARK",
77 .file = FILE_GRAPHEME,
78 .ucdname = "SpacingMark",
82 .file = FILE_GRAPHEME,
88 main(int argc, char *argv[])
92 properties_generate_break_property(char_break_property,
93 LEN(char_break_property),
94 NULL, NULL, "char_break", argv[0]);