summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-07-26 13:17:44 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-07-26 13:17:44 (GMT)
commit21d14b3c7697f8807065070f5850259b1b6550e4 (patch)
treede61f18870404dbf04e13ea215933e413c62ce47
parent9d7221a3bf79e93484639ba7af8e79ad969f1749 (diff)
downloadDoxygen-21d14b3c7697f8807065070f5850259b1b6550e4.zip
Doxygen-21d14b3c7697f8807065070f5850259b1b6550e4.tar.gz
Doxygen-21d14b3c7697f8807065070f5850259b1b6550e4.tar.bz2
Bug 752712 - last entry missing in a @name group of typedefs
-rw-r--r--src/commentcnv.l8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 8823b68..8762b6a 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -704,6 +704,14 @@ void replaceComment(int offset);
g_readLineCtx=YY_START;
BEGIN(ReadLine);
}
+<SComment>\n[ \t]*"//"[\/!]("<")?[ \t]*[\\@]"}".*\n {
+ /* See Bug 752712: end the multiline comment when finding a @} or \} command */
+ copyToOutput(" */",3);
+ copyToOutput(yytext,(int)yyleng);
+ g_inSpecialComment=FALSE;
+ g_inRoseComment=FALSE;
+ BEGIN(Scan);
+ }
<SComment>\n[ \t]*"///"[^\/\n]/.*\n {
replaceComment(1);
g_readLineCtx=YY_START;