diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-08-11 17:46:31 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-08-11 17:46:31 -0700 |
commit | 85440108e502b6f58671fcfc4b84103d1a716253 (patch) | |
tree | 87c6b186feb7b89fb84b3125653b0fe2d7ade339 /upb/pb/decoder.int.h | |
parent | fe427341f29a31656e247ef528adbab5ad786c9e (diff) |
More decoder fixes, and slightly changed parse call semantics.
Prior to this change, if an error was returned, it would be
guaranteed to always return a short byte count. Now the two
concepts are a bit more orthogonal. There are cases where
the entire input is consumed even though an error was
encountered.
Diffstat (limited to 'upb/pb/decoder.int.h')
-rw-r--r-- | upb/pb/decoder.int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/pb/decoder.int.h b/upb/pb/decoder.int.h index be5d044..a63f74b 100644 --- a/upb/pb/decoder.int.h +++ b/upb/pb/decoder.int.h @@ -273,6 +273,7 @@ void upb_pbdecoder_seterr(upb_pbdecoder *d, const char *msg); /* Error messages that are shared between the bytecode and JIT decoders. */ extern const char *kPbDecoderStackOverflow; +extern const char *kPbDecoderSubmessageTooLong; /* Access to decoderplan members needed by the decoder. */ const char *upb_pbdecoder_getopname(unsigned int op); |