summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r--src/storage/pinyin_parser2.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index ad4f05e..565b1e5 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -392,7 +392,7 @@ bool DoublePinyinParser2::parse_one_key (guint32 options, ChewingKey & key,
assert(FALSE);
}
- options &= ~PINYIN_CORRECT_ALL;
+ options &= ~(PINYIN_CORRECT_ALL|PINYIN_AMB_ALL);
if (2 == len || 3 == len) {
/* parse shengmu and yunmu here. */
@@ -407,3 +407,10 @@ bool DoublePinyinParser2::parse_one_key (guint32 options, ChewingKey & key,
return false;
}
+
+
+int DoublePinyinParser2::parse (guint32 options, ChewingKeyVector & keys,
+ ChewingKeyRestVector & key_rests,
+ const char *str, int len) const{
+ assert(FALSE);
+}