• Ilya Lipnitskiy's avatar
    protoc-c/c_helpers.cc: Enhance comment string parsing · 8f42a69f
    Ilya Lipnitskiy authored
    Certain protobuf comments could generate invalid C comments
    and inadvertently close the comment block. This commit removes '/'
    signs in such comments.
    
    One example of a .proto file containing such comments is a commonly
    included descriptor.proto from the protobuf library.
    8f42a69f
c_helpers.cc 18.6 KB