diff options
author | Peng Wu <alexepico@gmail.com> | 2012-06-19 14:41:18 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-06-19 14:41:18 +0800 |
commit | 3120e3f3208f3b0c9e30a811102e0d2ea9c5e29e (patch) | |
tree | 3a2a3d3ecb0ef125687c00773a6e06fe01d52c66 /src/include | |
parent | 05945ae69172859cb26f33363faccb76cb189629 (diff) | |
download | libpinyin-3120e3f3208f3b0c9e30a811102e0d2ea9c5e29e.tar.gz libpinyin-3120e3f3208f3b0c9e30a811102e0d2ea9c5e29e.tar.xz libpinyin-3120e3f3208f3b0c9e30a811102e0d2ea9c5e29e.zip |
fixes phrase library load
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/novel_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h index c031f40..de249ca 100644 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -90,7 +90,8 @@ enum PhraseIndexResult{ ERROR_NO_ITEM, /* item has a null slot */ ERROR_OUT_OF_RANGE, /* beyond the end of the sub phrase index */ ERROR_FILE_CORRUPTION, /* file is corrupted */ - ERROR_INTEGER_OVERFLOW /* integer is overflowed */ + ERROR_INTEGER_OVERFLOW, /* integer is overflowed */ + ERROR_ALREADY_EXISTS /* the sub phrase already exists. */ }; /* For N-gram */ |