summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-09-12 15:24:44 +0800
committerPeng Wu <alexepico@gmail.com>2013-09-12 15:24:44 +0800
commit22d3719a8a2fc1343af1de100b6bb92a1b171b7e (patch)
treee11760655858fd69ca98ffe9e983d85218ae7b23 /src/storage/pinyin_parser2.cpp
parent74a8337065edeea7308269338ec537fb6b5acd05 (diff)
begin to write ChewingDiscreteParser2
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r--src/storage/pinyin_parser2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index dc2421e..079af34 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -225,6 +225,7 @@ static inline bool search_chewing_index(pinyin_option_t options,
/* Full Pinyin Parser */
FullPinyinParser2::FullPinyinParser2 (){
+ m_pinyin_index = NULL; m_pinyin_index_len = 0;
m_parse_steps = g_array_new(TRUE, FALSE, sizeof(parse_value_t));
set_scheme(PINYIN_DEFAULT);