diff options
author | Peng Wu <alexepico@gmail.com> | 2013-02-21 18:16:12 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-02-21 18:16:12 +0800 |
commit | 6f509d855cf5f19971130e97651be01b37ad0532 (patch) | |
tree | b615e710a6a02ee5baeac6abb988cdb475744919 /scripts | |
parent | 932126ad426803596f17a7ad320c8ded1ea8b2d7 (diff) | |
download | libpinyin-6f509d855cf5f19971130e97651be01b37ad0532.tar.gz libpinyin-6f509d855cf5f19971130e97651be01b37ad0532.tar.xz libpinyin-6f509d855cf5f19971130e97651be01b37ad0532.zip |
re-factor tables
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/chewing_table.h.in | 9 | ||||
-rw-r--r-- | scripts/pinyin_parser_table.h.in | 9 |
2 files changed, 9 insertions, 9 deletions
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 |