diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-07-26 13:17:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-07-26 13:17:44 (GMT) |
commit | 21d14b3c7697f8807065070f5850259b1b6550e4 (patch) | |
tree | de61f18870404dbf04e13ea215933e413c62ce47 | |
parent | 9d7221a3bf79e93484639ba7af8e79ad969f1749 (diff) | |
download | Doxygen-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.l | 8 |
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; |