Skip to content

Commit

Permalink
Bug 752712 - last entry missing in a @name group of typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jul 26, 2015
1 parent 9d7221a commit 21d14b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/commentcnv.l
Expand Up @@ -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;
Expand Down

0 comments on commit 21d14b3

Please sign in to comment.