diff options
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index 948d6e2..aad369e 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -369,6 +369,9 @@ void replaceComment(int offset); g_readLineCtx=YY_START; BEGIN(ReadLine); } +<Scan>"/**/" { /* avoid matching next rule for empty C comment, see bug 711723 */ + copyToOutput(yytext,(int)yyleng); + } <Scan>"/*"[*!]? { /* start of a C comment */ g_specialComment=(int)yyleng==3; g_nestingCount=0; |