diff options
author | Peng Wu <alexepico@gmail.com> | 2013-10-24 11:05:04 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-10-24 11:05:04 +0800 |
commit | 73dbbb92123697870ef6a2fa875b8f77e11f64f1 (patch) | |
tree | 2471363fa6df155d417904ad69c4c741d39b11ed | |
parent | 1dfba57b85ab7e62a46fd44d54d5ebd2105e2bf4 (diff) | |
download | libzhuyin-73dbbb92123697870ef6a2fa875b8f77e11f64f1.tar.gz libzhuyin-73dbbb92123697870ef6a2fa875b8f77e11f64f1.tar.xz libzhuyin-73dbbb92123697870ef6a2fa875b8f77e11f64f1.zip |
print bopomofo strings in test_parser2.cpp
-rw-r--r-- | tests/storage/test_parser2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index ab1f08c..854e270 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -132,8 +132,10 @@ int main(int argc, char * argv[]) { &g_array_index(key_rests, ChewingKeyRest, i); gchar * pinyins = key->get_pinyin_string(); - printf("%s %d %d\t", pinyins, + gchar * bopomofos = key->get_bopomofo_string(); + printf("%s %s %d %d\t", pinyins, bopomofos, key_rest->m_raw_begin, key_rest->m_raw_end); + g_free(bopomofos); g_free(pinyins); } printf("\n"); |