diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-08-04 09:49:37 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-08-04 09:49:37 (GMT) |
commit | f6b570dd11534ee131c8c3cc0f1a4c732c00ec96 (patch) | |
tree | 1bb8d799f870b7c2c6d061c89baf7a2ec0c25e45 | |
parent | fd6b2c70a4865d9385bd9dc57939877c31ac4fa9 (diff) | |
parent | 07926ab1f7f60f63cfe25201dcf81897df12d89c (diff) | |
download | Doxygen-f6b570dd11534ee131c8c3cc0f1a4c732c00ec96.zip Doxygen-f6b570dd11534ee131c8c3cc0f1a4c732c00ec96.tar.gz Doxygen-f6b570dd11534ee131c8c3cc0f1a4c732c00ec96.tar.bz2 |
Merge branch 'albert-github-feature/bug_doc_cont'
-rw-r--r-- | src/commentscan.l | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index 933bd59..168de94 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -812,6 +812,10 @@ static inline void setOutput(OutputContext ctx) } else { + if (!current->doc.isEmpty()) // when appending parts add a new line + { + current->doc += "\n"; + } pOutputString = ¤t->doc; inContext = OutputDoc; // need to switch to detailed docs, see bug 631380 } @@ -3146,6 +3150,10 @@ bool parseCommentBlock(/* in */ ParserInterface *parser, parseMore = FALSE; inBody = isInbody; outputXRef.resize(0); + if (!isBrief && !isAutoBriefOn && !current->doc.isEmpty()) + { // add newline separator between detailed comment blocks + current->doc += '\n'; + } setOutput( isBrief || isAutoBriefOn ? OutputBrief : OutputDoc ); briefEndsAtDot = isAutoBriefOn; g_condCount = 0; |