From 840c16f4a673beb3b33bc62759fae46ea887f3d2 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 8 Apr 2014 13:39:11 +0800 Subject: rename some public enums --- src/storage/pinyin_parser2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/storage/pinyin_parser2.cpp') 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) -- cgit