summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.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/commentcnv.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/commentcnv.l')
-rw-r--r--src/commentcnv.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 5457738..169f66a 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -379,6 +379,12 @@ void replaceComment(int offset);
g_inRoseComment=TRUE;
BEGIN(SComment);
}
+<Scan>"//"[!\/]/.*\n[ \t]*"//"[|\/][ \t]*[@\\]"}" { // next line contains an end marker, see bug 752712
+ g_inSpecialComment=yytext[2]=='/' || yytext[2]=='!';
+ copyToOutput(yytext,(int)yyleng);
+ g_readLineCtx=YY_START;
+ BEGIN(ReadLine);
+ }
<Scan>"//"/.*\n { /* one line C++ comment */
g_inSpecialComment=yytext[2]=='/' || yytext[2]=='!';
copyToOutput(yytext,(int)yyleng);