summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-16 13:52:08 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-16 13:52:08 +0800
commit6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7 (patch)
tree4fc552215712ed6b92a50e675a358e4d87bf33a2 /src/storage
parentd70abfb4ec0a6a79aed34489aa80b3f4c8a775f6 (diff)
downloadlibpinyin-6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7.tar.gz
libpinyin-6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7.tar.xz
libpinyin-6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7.zip
fixes compile
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/phonetic_key_matrix.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/storage/phonetic_key_matrix.cpp b/src/storage/phonetic_key_matrix.cpp
index e6ee918..8b7e295 100644
--- a/src/storage/phonetic_key_matrix.cpp
+++ b/src/storage/phonetic_key_matrix.cpp
@@ -23,6 +23,7 @@
#include <assert.h>
#include <stdio.h>
#include "pinyin_custom2.h"
+#include "special_table.h"
namespace pinyin{
@@ -72,7 +73,6 @@ bool fill_phonetic_key_matrix_from_chewing_keys(PhoneticKeyMatrix * matrix,
return true;
}
-/* need to use the pinyin_parser_table header. */
bool resplit_step(pinyin_option_t options,
PhoneticKeyMatrix * matrix) {
if (!(options & USE_RESPLIT_TABLE))
@@ -153,8 +153,6 @@ bool resplit_step(pinyin_option_t options,
return true;
}
-
-/* need to use the pinyin_parser_table header. */
bool inner_split_step(pinyin_option_t options,
PhoneticKeyMatrix * matrix) {
if (!(options & USE_DIVIDED_TABLE))