diff options
author | Peng Wu <alexepico@gmail.com> | 2011-09-27 10:40:26 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-09-27 10:42:30 +0800 |
commit | 61ee715927f782dd16f9a7b7ec0e3e989786e0c8 (patch) | |
tree | a04bd9940b20991e545bc36acb30e6d63651d43d /tests/storage | |
parent | 9249dbb49b26b6aac78b0a79081c261f971db978 (diff) | |
download | libpinyin-61ee715927f782dd16f9a7b7ec0e3e989786e0c8.tar.gz libpinyin-61ee715927f782dd16f9a7b7ec0e3e989786e0c8.tar.xz libpinyin-61ee715927f782dd16f9a7b7ec0e3e989786e0c8.zip |
fixes test parser0.2.99.1
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_parser.cpp b/tests/storage/test_parser.cpp index 2323106..aad719b 100644 --- a/tests/storage/test_parser.cpp +++ b/tests/storage/test_parser.cpp @@ -113,7 +113,7 @@ int main (int argc, char * argv []) parser = new PinyinShuangPinParser (SHUANG_PIN_PYJJ); else if (!strcmp (argv[i], "sp-xhe")) parser = new PinyinShuangPinParser (SHUANG_PIN_XHE); - if (!strcmp (argv[i], "zy") || !strcmp (argv[i], "zy-standard") || !strcmp (argv[i], "zy-default")) + else if (!strcmp (argv[i], "zy") || !strcmp (argv[i], "zy-standard") || !strcmp (argv[i], "zy-default")) parser = new PinyinZhuYinParser (); else if (!strcmp (argv[i], "zy-hsu")) parser = new PinyinZhuYinParser (ZHUYIN_HSU); |