summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-10-15 10:58:05 +0800
committerPeng Wu <alexepico@gmail.com>2013-10-15 10:58:05 +0800
commitef08572dbc39d4c5c4ebe264828da93e5f01b23c (patch)
treef65524eb06f745e2e5066d6f3959cffcf1540b4a
parent09a9b8859ffb137104943525416ea7fd6bd580c5 (diff)
downloadlibzhuyin-ef08572dbc39d4c5c4ebe264828da93e5f01b23c.tar.gz
libzhuyin-ef08572dbc39d4c5c4ebe264828da93e5f01b23c.tar.xz
libzhuyin-ef08572dbc39d4c5c4ebe264828da93e5f01b23c.zip
comment out FullPinyinParser2::in_chewing_scheme
-rw-r--r--src/storage/pinyin_parser2.cpp2
-rw-r--r--src/storage/pinyin_parser2.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 6884f8a..d6fd8a6 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -444,6 +444,7 @@ bool FullPinyinParser2::set_scheme(PinyinScheme scheme){
return true;
}
+#if 0
static const char * pinyin_symbols[27] = {
"a", "b", "c", "d", "e", "f", "g",
@@ -472,6 +473,7 @@ bool FullPinyinParser2::in_chewing_scheme(pinyin_option_t options,
return false;
}
+#endif
/* the chewing string must be freed with g_free. */
static bool search_chewing_symbols(const chewing_symbol_item_t * symbol_table,
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h
index 1cc6e2c..df693f9 100644
--- a/src/storage/pinyin_parser2.h
+++ b/src/storage/pinyin_parser2.h
@@ -143,7 +143,6 @@ public:
public:
bool set_scheme(PinyinScheme scheme);
- bool in_chewing_scheme(pinyin_option_t options, const char key, const char ** symbol) const;
};