projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26719a8
)
add comments
author
Peng Wu
<alexepico@gmail.com>
Wed, 23 Nov 2011 09:02:58 +0000
(17:02 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Wed, 23 Nov 2011 09:02:58 +0000
(17:02 +0800)
src/storage/pinyin_parser2.cpp
patch
|
blob
|
history
diff --git
a/src/storage/pinyin_parser2.cpp
b/src/storage/pinyin_parser2.cpp
index
becb667
..
727f939
100644
(file)
--- 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);
}