summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-02-06 15:28:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-02-06 15:28:04 (GMT)
commitee2d6faecab57c1f929d6868ae6eb9bdaa53d654 (patch)
tree3286fe6b94a657a7ad13a80ebdd1e6ecf5596762 /src/scanner.l
parent50720068afa77484ec7253e7dca1e812050b33f1 (diff)
downloadDoxygen-ee2d6faecab57c1f929d6868ae6eb9bdaa53d654.zip
Doxygen-ee2d6faecab57c1f929d6868ae6eb9bdaa53d654.tar.gz
Doxygen-ee2d6faecab57c1f929d6868ae6eb9bdaa53d654.tar.bz2
Bug 752712 - last entry missing in a @name group of typedefs
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 9ccd628..6e94a20 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -6224,6 +6224,11 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
handleCommentBlock(docBlock.data(),current->brief.isEmpty());
BEGIN( docBlockContext );
}
+<DocLine>[^\n]*/"\n"{B}*"//"[!/]{B}*{CMD}"}" { // next line is an end group marker, see bug 752712
+ docBlock+=yytext;
+ handleCommentBlock(docBlock.data(),current->brief.isEmpty());
+ BEGIN( docBlockContext );
+ }
<DocLine>[^\n]*/"\n" { // whole line
docBlock+=yytext;
handleCommentBlock(docBlock.data(),current->brief.isEmpty());