diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-11-11 19:38:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-11-11 19:38:14 (GMT) |
commit | e03fa747158f7d7b8fa04dd4389ee075be1039c9 (patch) | |
tree | 18c12ac3e2edb10f156d454a9ea6cf6228d7ed8a /src/commentcnv.l | |
parent | 7167ab59c1160324861b18c12e45f8f1375718e0 (diff) | |
download | Doxygen-e03fa747158f7d7b8fa04dd4389ee075be1039c9.zip Doxygen-e03fa747158f7d7b8fa04dd4389ee075be1039c9.tar.gz Doxygen-e03fa747158f7d7b8fa04dd4389ee075be1039c9.tar.bz2 |
Bug 711723 - Comment /**/ confuses doxygen
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; |