diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-01-16 21:47:47 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-01-16 21:47:47 -0800 |
commit | 036fe6bb0673930cd5e8450532abe3b7acffb94e (patch) | |
tree | 652770f222f592542745060d61be96ad2ec0427e /src/upb.h | |
parent | 611afe9c6928ea814abd37c4b3cc2869a6ed5efd (diff) |
Flesh out implementation of upb_sizebuilder.
Diffstat (limited to 'src/upb.h')
-rw-r--r-- | src/upb.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -272,14 +272,14 @@ enum upb_status_code { // The input byte stream ended in the middle of a record. UPB_STATUS_NEED_MORE_DATA = 1, - // The user value callback opted to stop parsing. - UPB_STATUS_USER_CANCELLED = 2, - // An unrecoverable error occurred. UPB_STATUS_ERROR = -1, // A varint went for 10 bytes without terminating. - UPB_ERROR_UNTERMINATED_VARINT = -2 + UPB_ERROR_UNTERMINATED_VARINT = -2, + + // The max nesting level (UPB_MAX_NESTING) was exceeded. + UPB_ERROR_MAX_NESTING_EXCEEDED = -3 }; #define UPB_ERRORMSG_MAXLEN 256 |