From dd2f732abd8d16891995c7c12c2ae73f449f2395 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 23 Nov 2011 17:02:58 +0800 Subject: add comments --- src/storage/pinyin_parser2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/storage/pinyin_parser2.cpp') diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index becb667..727f939 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -673,7 +673,10 @@ bool ChewingParser2::parse_one_key(guint32 options, ChewingKey & key, ChewingKey } +/* only characters in chewing keyboard scheme are accepted here. */ int ChewingParser2::parse(guint32 options, ChewingKeyVector & keys, ChewingKeyRestVector & key_rests, const char *str, int len) const { + /* probe the longest possible chewing string. */ + /* maximum forward match for chewing. */ assert(FALSE); } -- cgit