summaryrefslogtreecommitdiff
path: root/upb_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb_parse.h')
-rw-r--r--upb_parse.h2
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;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback