diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-05-27 18:58:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 18:58:58 (GMT) |
commit | 08c400ccc3eabae63f030b0c05c5f4b4762e3ad3 (patch) | |
tree | c312c8b10cd1b3984e7faee5a7ebade7acdf88e3 /src | |
parent | 9889a3ca7c71ee206961d28f504ae57ec91bc624 (diff) | |
parent | 5870db1f2848ff551007a0feff0b25e1029f7eb6 (diff) | |
download | Doxygen-08c400ccc3eabae63f030b0c05c5f4b4762e3ad3.zip Doxygen-08c400ccc3eabae63f030b0c05c5f4b4762e3ad3.tar.gz Doxygen-08c400ccc3eabae63f030b0c05c5f4b4762e3ad3.tar.bz2 |
Merge pull request #7806 from albert-github/feature/bug_py_mult
Warning in case of multiple python documentation sections.
Diffstat (limited to 'src')
-rw-r--r-- | src/pyscanner.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index f2a315c..ed76c75 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -1618,6 +1618,10 @@ static void handleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool brief // TODO: Fix me yyextra->docBlockInBody=FALSE; + if (!yyextra->current->doc.isEmpty()) + { + yyextra->current->doc=yyextra->current->doc.stripWhiteSpace()+"\n\n"; + } if (yyextra->docBlockInBody && yyextra->previous && !yyextra->previous->doc.isEmpty()) { yyextra->previous->doc=yyextra->previous->doc.stripWhiteSpace()+"\n\n"; |