Kdocify comments from source

pull/10196/head
Deanna Garcia 2 years ago
parent 799a041d14
commit 24106fbe3a
  1. 4
      src/google/protobuf/compiler/java/doc_comment.cc

@ -147,7 +147,9 @@ static void WriteDocCommentBodyForLocation(io::Printer* printer,
? location.trailing_comments
: location.leading_comments;
if (!comments.empty()) {
if (!kdoc) {
if (kdoc) {
comments = EscapeKdoc(comments);
} else {
comments = EscapeJavadoc(comments);
}

Loading…
Cancel
Save