Commit e03fa747 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 711723 - Comment /**/ confuses doxygen

parent 7167ab59
...@@ -369,6 +369,9 @@ void replaceComment(int offset); ...@@ -369,6 +369,9 @@ void replaceComment(int offset);
g_readLineCtx=YY_START; g_readLineCtx=YY_START;
BEGIN(ReadLine); BEGIN(ReadLine);
} }
<Scan>"/**/" { /* avoid matching next rule for empty C comment, see bug 711723 */
copyToOutput(yytext,(int)yyleng);
}
<Scan>"/*"[*!]? { /* start of a C comment */ <Scan>"/*"[*!]? { /* start of a C comment */
g_specialComment=(int)yyleng==3; g_specialComment=(int)yyleng==3;
g_nestingCount=0; g_nestingCount=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment