From 6db008752cfad90cd6c839f1776429ecee68948d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 2 Dec 2011 11:08:09 +0800 Subject: fixes double pinyin parser --- tests/storage/test_parser2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 3748338..f42db49 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -56,7 +56,7 @@ int main(int argc, char * argv[]) { ChewingKeyVector keys = g_array_new(FALSE, FALSE, sizeof(ChewingKey)); ChewingKeyRestVector key_rests = g_array_new(FALSE, FALSE, sizeof(ChewingKeyRest)); - pinyin_option_t options = PINYIN_CORRECT_ALL | USE_RESPLIT_TABLE; + pinyin_option_t options = PINYIN_CORRECT_ALL | USE_TONE | USE_RESPLIT_TABLE; int i = 1; while(i < argc) { -- cgit