diff options
Diffstat (limited to 'upb_parse.h')
-rw-r--r-- | upb_parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb_parse.h b/upb_parse.h index 466c383..bbe6431 100644 --- a/upb_parse.h +++ b/upb_parse.h @@ -130,7 +130,7 @@ INLINE bool upb_check_type(upb_wire_type_t wt, upb_field_type_t ft) { if(ft == 10) { // GOOGLE_PROTOBUF_FIELDDESCRIPTORPROTO_TYPE_GROUP) return wt == UPB_WIRE_TYPE_START_GROUP; } else { - /* With packed arrays, anything can be delimited. */ + /* With packed arrays, anything can be delimited (except groups). */ return wt == UPB_WIRE_TYPE_DELIMITED || upb_type_info[ft].expected_wire_type == wt; } |