summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-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 bdbe385..86e25a7 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -1307,6 +1307,8 @@ bool ChewingDirectParser2::parse_one_key(pinyin_option_t options,
/* save back tone if available. */
key.m_tone = tone;
g_free(chewing);
+
+ assert(tone != CHEWING_ZERO_TONE);
return true;
}