summaryrefslogtreecommitdiffstats
path: root/src/storage/chewing_key.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-15 17:07:56 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-15 17:33:58 +0800
commit4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841 (patch)
treee13861d630f78a2b08f1f292feb3742db0352f6a /src/storage/chewing_key.h
parent5501ea429dd50330caa9cd6ffbd8236d1663fa6e (diff)
downloadlibpinyin-4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841.tar.gz
libpinyin-4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841.tar.xz
libpinyin-4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841.zip
begin to write full pinyin parser2 parse_one_key
Diffstat (limited to 'src/storage/chewing_key.h')
-rw-r--r--src/storage/chewing_key.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h
index ea086b7..5d708e0 100644
--- a/src/storage/chewing_key.h
+++ b/src/storage/chewing_key.h
@@ -181,14 +181,14 @@ struct ChewingKey
struct ChewingKeyRest
{
guint16 m_index; /* the index in pinyin parser table. */
- guint16 m_pinyin_begin; /* the begin of pinyin in raw input. */
- guint16 m_pinyin_end; /* the end of pinyin in raw input. */
+ guint16 m_raw_begin; /* the begin of the raw input. */
+ guint16 m_raw_end; /* the end of the raw input. */
ChewingKeyRest() {
/* the 0th item in pinyin parser table is reserved for invalid. */
m_index = 0;
- m_pinyin_begin = 0;
- m_pinyin_end = 0;
+ m_raw_begin = 0;
+ m_raw_end = 0;
}
const char * get_pinyin_string();