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 /src/storage | |
parent | 932126ad426803596f17a7ad320c8ded1ea8b2d7 (diff) | |
download | libpinyin-6f509d855cf5f19971130e97651be01b37ad0532.tar.gz libpinyin-6f509d855cf5f19971130e97651be01b37ad0532.tar.xz libpinyin-6f509d855cf5f19971130e97651be01b37ad0532.zip |
re-factor tables
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/chewing_table.h | 9 | ||||
-rw-r--r-- | src/storage/pinyin_parser_table.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/storage/chewing_table.h b/src/storage/chewing_table.h index e82ceb7..56ceba0 100644 --- a/src/storage/chewing_table.h +++ b/src/storage/chewing_table.h @@ -207,6 +207,15 @@ const chewing_tone_item_t chewing_ibm_tones[] = { {'\0', 0} }; +const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { +"", +"ˉ", +"ˊ", +"ˇ", +"ˋ", +"˙" +}; + }; #endif diff --git a/src/storage/pinyin_parser_table.h b/src/storage/pinyin_parser_table.h index 9abe2f1..f633604 100644 --- a/src/storage/pinyin_parser_table.h +++ b/src/storage/pinyin_parser_table.h @@ -3388,15 +3388,6 @@ const gint chewing_key_table[CHEWING_NUMBER_OF_INITIALS * -1 /* ChewingKey(CHEWING_ZH, CHEWING_V, PINYIN_ING) */ }; -const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { -"", -"ˉ", -"ˊ", -"ˇ", -"ˋ", -"˙" -}; - }; #endif |