summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-23 17:02:58 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-23 17:02:58 +0800
commitdd2f732abd8d16891995c7c12c2ae73f449f2395 (patch)
tree50aff2d5967b2226e8ab3b5bc9ae026e33611c61 /src
parent26719a855a15becc772e90f715bd974e113912b4 (diff)
downloadlibpinyin-dd2f732abd8d16891995c7c12c2ae73f449f2395.tar.gz
libpinyin-dd2f732abd8d16891995c7c12c2ae73f449f2395.tar.xz
libpinyin-dd2f732abd8d16891995c7c12c2ae73f449f2395.zip
add comments
Diffstat (limited to 'src')
-rw-r--r--src/storage/pinyin_parser2.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}