Closed japersik closed 1 year ago
This case (link)
case '"': b.WriteString("\\")
must be
case '"': b.WriteString("\\\"")
otherwise, options with a string value are printed incorrectly example:
option (._mt_string_option) = "Some \"string value\"";
will be converted to
option (._mt_string_option) = "Some \string value\";
and it is an incorrect protobuf file
Fixed in #580. Thanks for the fix, @japersik!!
This case (link)
must be
otherwise, options with a string value are printed incorrectly example:
will be converted to
and it is an incorrect protobuf file