From c46f20d200398b00e63e17d3426284796b821912 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 21 Nov 2011 15:47:44 +0800 Subject: write gen double pinyin header --- src/storage/pinyin_parser2.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/storage/pinyin_parser2.cpp') 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); +} -- cgit