|
|
@ -1015,8 +1015,8 @@ static bool make_layout(const upb_symtab *symtab, const upb_msgdef *m) { |
|
|
|
|
|
|
|
|
|
|
|
if (field->descriptortype == UPB_DTYPE_STRING && |
|
|
|
if (field->descriptortype == UPB_DTYPE_STRING && |
|
|
|
f->file->syntax == UPB_SYNTAX_PROTO2) { |
|
|
|
f->file->syntax == UPB_SYNTAX_PROTO2) { |
|
|
|
// See TableDescriptorType() in upbc/generator.cc for details and
|
|
|
|
/* See TableDescriptorType() in upbc/generator.cc for details and
|
|
|
|
// rationale.
|
|
|
|
* rationale. */ |
|
|
|
field->descriptortype = UPB_DTYPE_BYTES; |
|
|
|
field->descriptortype = UPB_DTYPE_BYTES; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|