From 6f509d855cf5f19971130e97651be01b37ad0532 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 21 Feb 2013 18:16:12 +0800 Subject: re-factor tables --- scripts/chewing_table.h.in | 9 +++++++++ scripts/pinyin_parser_table.h.in | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/chewing_table.h.in b/scripts/chewing_table.h.in index 16a05b7..8780b17 100644 --- a/scripts/chewing_table.h.in +++ b/scripts/chewing_table.h.in @@ -36,6 +36,15 @@ const chewing_tone_item_t chewing_ibm_tones[] = { @IBM_TONES@ }; +const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { +"", +"ˉ", +"ˊ", +"ˇ", +"ˋ", +"˙" +}; + }; #endif diff --git a/scripts/pinyin_parser_table.h.in b/scripts/pinyin_parser_table.h.in index 17f5615..2f98e0e 100644 --- a/scripts/pinyin_parser_table.h.in +++ b/scripts/pinyin_parser_table.h.in @@ -29,15 +29,6 @@ const gint chewing_key_table[CHEWING_NUMBER_OF_INITIALS * @TABLE_INDEX@ }; -const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { -"", -"ˉ", -"ˊ", -"ˇ", -"ˋ", -"˙" -}; - }; #endif -- cgit