summaryrefslogtreecommitdiffstats
path: root/scripts2/templates/zhuyin_table.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts2/templates/zhuyin_table.h.in')
-rw-r--r--scripts2/templates/zhuyin_table.h.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts2/templates/zhuyin_table.h.in b/scripts2/templates/zhuyin_table.h.in
index 9760d4f..f9fc9fa 100644
--- a/scripts2/templates/zhuyin_table.h.in
+++ b/scripts2/templates/zhuyin_table.h.in
@@ -107,7 +107,14 @@ const zhuyin_tone_item_t chewing_dachen_cp26_tones[] = {
@DACHEN-CP26_TONES@
};
-static const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = {
+const bool valid_zhuyin_table[CHEWING_NUMBER_OF_INITIALS *
+ CHEWING_NUMBER_OF_MIDDLES *
+ CHEWING_NUMBER_OF_FINALS *
+ CHEWING_NUMBER_OF_TONES] = {
+@VALID_ZHUYIN_TABLE@
+};
+
+const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = {
"",
" ",
"ˊ",