summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-11 19:20:34 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-11 19:20:34 (GMT)
commit0f1e5fad06a66bf747e5cb1526be56c747558a79 (patch)
tree78db8ffa59b8449c0dbd1ee85c246570a13002a0 /src/commentscan.l
parent121ec253945f6563ac6731e3596cd9beaa39cb72 (diff)
downloadDoxygen-0f1e5fad06a66bf747e5cb1526be56c747558a79.zip
Doxygen-0f1e5fad06a66bf747e5cb1526be56c747558a79.tar.gz
Doxygen-0f1e5fad06a66bf747e5cb1526be56c747558a79.tar.bz2
Terminate brief in case of `-#` list
With the list types `-`, `*` and `1.` the brief description is terminated, with the `-#` lists this was not the case.
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 7fab755..c656c9e 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -1282,6 +1282,11 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
addOutput(insidePre || Doxygen::markdownSupport ? yytext : "&ndash;");
}
<Comment>"-#"{B}+ { // numbered item
+ if (inContext!=OutputXRef)
+ {
+ briefEndsAtDot=FALSE;
+ setOutput(OutputDoc);
+ }
addOutput(yytext);
}
<Comment>("."+)[a-z_A-Z0-9\)] { // . at start or in the middle of a word, or ellipsis