summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-04-08 13:39:11 +0800
committerPeng Wu <alexepico@gmail.com>2014-04-08 13:39:11 +0800
commit840c16f4a673beb3b33bc62759fae46ea887f3d2 (patch)
tree7c47e40e9b5d8a1604e2fcd9c9ae846b81af4f80 /src/storage/pinyin_parser2.cpp
parent86b4f0b9b4a23c23b4945481ef8e4353e7116159 (diff)
downloadlibzhuyin-840c16f4a673beb3b33bc62759fae46ea887f3d2.tar.gz
libzhuyin-840c16f4a673beb3b33bc62759fae46ea887f3d2.tar.xz
libzhuyin-840c16f4a673beb3b33bc62759fae46ea887f3d2.zip
rename some public enums
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r--src/storage/pinyin_parser2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 6fe8a19..9fabd8a 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -554,7 +554,7 @@ static int search_chewing_symbols2(const chewing_symbol_item_t * symbol_table,
bool ChewingSimpleParser2::parse_one_key(pinyin_option_t options,
ChewingKey & key,
const char * str, int len) const {
- options &= ~PINYIN_AMB_ALL;
+ options &= ~ZHUYIN_AMB_ALL;
unsigned char tone = CHEWING_ZERO_TONE;
int symbols_len = len;
@@ -611,7 +611,7 @@ bool ChewingDiscreteParser2::parse_one_key(pinyin_option_t options,
if (0 == len)
return false;
- options &= ~PINYIN_AMB_ALL;
+ options &= ~ZHUYIN_AMB_ALL;
int index = 0;
const char * initial = "";
@@ -843,7 +843,7 @@ bool ChewingDaChenCP26Parser2::parse_one_key(pinyin_option_t options,
if (0 == len)
return false;
- options &= ~PINYIN_AMB_ALL;
+ options &= ~ZHUYIN_AMB_ALL;
const char * initial = "";
const char * middle = "";
@@ -1164,7 +1164,7 @@ ChewingDirectParser2::ChewingDirectParser2 (){
bool ChewingDirectParser2::parse_one_key(pinyin_option_t options,
ChewingKey & key,
const char *str, int len) const {
- options &= ~PINYIN_AMB_ALL;
+ options &= ~ZHUYIN_AMB_ALL;
unsigned char tone = CHEWING_ZERO_TONE;
if (0 == len)