Permalink
Browse files

Bug 752712 - last entry missing in a @name group of typedefs

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jul 26, 2015
1 parent 9d7221a commit 21d14b3c7697f8807065070f5850259b1b6550e4
Showing with 8 additions and 0 deletions.
  1. +8 −0 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;

0 comments on commit 21d14b3

Please sign in to comment.