summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-01-15 12:16:54 +0800
committerPeng Wu <alexepico@gmail.com>2014-01-15 12:16:54 +0800
commit8eddccb8b3107bb1fd6557112991b1a0b8306420 (patch)
treec2f90e1b4cc60cecf0887977e091fce5bf8826b1
parentfd9355db453e805419edd673ac463de634d397d1 (diff)
downloadlibzhuyin-8eddccb8b3107bb1fd6557112991b1a0b8306420.tar.gz
libzhuyin-8eddccb8b3107bb1fd6557112991b1a0b8306420.tar.xz
libzhuyin-8eddccb8b3107bb1fd6557112991b1a0b8306420.zip
clean up dachen 26 parser
-rw-r--r--src/storage/pinyin_parser2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 4f7645f..ff55246 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -1014,6 +1014,7 @@ int ChewingDaChenCP26Parser2::parse(pinyin_option_t options,
g_array_append_val(key_rests, key_rest);
}
+#if 0
/* for the last partial input */
options |= CHEWING_INCOMPLETE;
@@ -1034,6 +1035,7 @@ int ChewingDaChenCP26Parser2::parse(pinyin_option_t options,
g_array_append_val(keys, key);
g_array_append_val(key_rests, key_rest);
}
+#endif
return parsed_len;
}