Object: Add proper error handling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2011-06-25 17:55:23 +00:00
parent 76fb9b0e5f
commit 25b15777df
10 changed files with 563 additions and 271 deletions

View File

@ -25,7 +25,8 @@ struct object_error {
enum _ {
success = 0,
invalid_file_type,
parse_failed
parse_failed,
unexpected_eof
};
_ v_;