summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-05-08 10:16:59 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-05-08 10:16:59 (GMT)
commitf643a0e4701e9d44cddd8d2f59ec6830d52c74d4 (patch)
treeaad935abf6b45b6a44880e10217638da5fed20c3 /src/commentscan.l
parent80bcb700045047a67b580fd1c3df3f47992e2d64 (diff)
downloadDoxygen-f643a0e4701e9d44cddd8d2f59ec6830d52c74d4.zip
Doxygen-f643a0e4701e9d44cddd8d2f59ec6830d52c74d4.tar.gz
Doxygen-f643a0e4701e9d44cddd8d2f59ec6830d52c74d4.tar.bz2
issue #6945 \class after \brief doesn't count as a new line - resulting docs show merged descriptions
Set "ends brief description" for the different for the commands mentioned in issue (as well as addtogroup)
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 0ca293c..eb1629e 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -147,30 +147,30 @@ static DocCmdMap docCmdMap[] =
// command name handler function ends brief description
{ "brief", &handleBrief, FALSE },
{ "short", &handleBrief, FALSE },
- { "fn", &handleFn, FALSE },
- { "var", &handleFn, FALSE },
- { "typedef", &handleFn, FALSE },
- { "property", &handleFn, FALSE },
- { "def", &handleDef, FALSE },
+ { "fn", &handleFn, TRUE },
+ { "var", &handleFn, TRUE },
+ { "typedef", &handleFn, TRUE },
+ { "property", &handleFn, TRUE },
+ { "def", &handleDef, TRUE },
{ "overload", &handleOverload, FALSE },
- { "enum", &handleEnum, FALSE },
- { "defgroup", &handleDefGroup, FALSE },
- { "addtogroup", &handleAddToGroup, FALSE },
- { "weakgroup", &handleWeakGroup, FALSE },
- { "namespace", &handleNamespace, FALSE },
- { "package", &handlePackage, FALSE },
- { "class", &handleClass, FALSE },
+ { "enum", &handleEnum, TRUE },
+ { "defgroup", &handleDefGroup, TRUE },
+ { "addtogroup", &handleAddToGroup, TRUE },
+ { "weakgroup", &handleWeakGroup, TRUE },
+ { "namespace", &handleNamespace, TRUE },
+ { "package", &handlePackage, TRUE },
+ { "class", &handleClass, TRUE },
{ "headerfile", &handleHeaderFile, FALSE },
- { "protocol", &handleProtocol, FALSE },
- { "category", &handleCategory, FALSE },
- { "union", &handleUnion, FALSE },
- { "struct", &handleStruct, FALSE },
- { "interface", &handleInterface, FALSE },
- { "idlexcept", &handleIdlException, FALSE },
- { "page", &handlePage, FALSE },
- { "mainpage", &handleMainpage, FALSE },
- { "file", &handleFile, FALSE },
- { "dir", &handleDir, FALSE },
+ { "protocol", &handleProtocol, TRUE },
+ { "category", &handleCategory, TRUE },
+ { "union", &handleUnion, TRUE },
+ { "struct", &handleStruct, TRUE },
+ { "interface", &handleInterface, TRUE },
+ { "idlexcept", &handleIdlException, TRUE },
+ { "page", &handlePage, TRUE },
+ { "mainpage", &handleMainpage, TRUE },
+ { "file", &handleFile, TRUE },
+ { "dir", &handleDir, TRUE },
{ "example", &handleExample, FALSE },
{ "details", &handleDetails, TRUE },
{ "name", &handleName, FALSE },
@@ -210,7 +210,7 @@ static DocCmdMap docCmdMap[] =
{ "elseif", &handleElseIf, FALSE },
{ "else", &handleElse, FALSE },
{ "endif", &handleEndIf, FALSE },
- { "ingroup", &handleIngroup, FALSE },
+ { "ingroup", &handleIngroup, TRUE },
{ "nosubgrouping", &handleNoSubGrouping, FALSE },
{ "showinitializer", &handleShowInitializer, FALSE },
{ "hideinitializer", &handleHideInitializer, FALSE },