diff options
author | Alastair D'Silva <alastair@d-silva.org> | 2017-07-25 04:56:36 (GMT) |
---|---|---|
committer | Alastair D'Silva <alastair@d-silva.org> | 2017-07-25 04:56:36 (GMT) |
commit | 1aafbbc97bdb643cae8be036f2b9ab569ca7f15e (patch) | |
tree | 1cccc9e777452df3c96e852c7880a28afa6e7a72 /src | |
parent | daa2c0960aa5044990c3e06afe8c15694e8be48d (diff) | |
download | Doxygen-1aafbbc97bdb643cae8be036f2b9ab569ca7f15e.zip Doxygen-1aafbbc97bdb643cae8be036f2b9ab569ca7f15e.tar.gz Doxygen-1aafbbc97bdb643cae8be036f2b9ab569ca7f15e.tar.bz2 |
Call endMemberItem consistently.
When generating man pages, enums erroneously output their description
on the same line as the definition, with a trailing '"'. This is due to
endMemberItem being called after the member description is emitted, rather
than before, as it is elsewhere.
This patch moves the call to the same place where it is called elsewhere.
Bad output:
enum foo { FOO = 0 } Description. "
Good output:
enum foo { FOO = 0 }
Description.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/memberlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index 5349030..e19cead 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -426,6 +426,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, { ol.endDoxyAnchor(md->getOutputFileBase(),md->anchor()); } + ol.endMemberItem(); if (!md->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC)) { DocRoot *rootNode = validatingParseDoc( @@ -452,7 +453,6 @@ void MemberList::writePlainDeclarations(OutputList &ol, } delete rootNode; } - ol.endMemberItem(); ol.endMemberDeclaration(md->anchor(),inheritId); } md->warnIfUndocumented(); |