diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-02-06 15:28:04 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-02-06 15:28:04 (GMT) |
commit | ee2d6faecab57c1f929d6868ae6eb9bdaa53d654 (patch) | |
tree | 3286fe6b94a657a7ad13a80ebdd1e6ecf5596762 /src/commentcnv.l | |
parent | 50720068afa77484ec7253e7dca1e812050b33f1 (diff) | |
download | Doxygen-ee2d6faecab57c1f929d6868ae6eb9bdaa53d654.zip Doxygen-ee2d6faecab57c1f929d6868ae6eb9bdaa53d654.tar.gz Doxygen-ee2d6faecab57c1f929d6868ae6eb9bdaa53d654.tar.bz2 |
Bug 752712 - last entry missing in a @name group of typedefs
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index 5457738..169f66a 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -379,6 +379,12 @@ void replaceComment(int offset); g_inRoseComment=TRUE; BEGIN(SComment); } +<Scan>"//"[!\/]/.*\n[ \t]*"//"[|\/][ \t]*[@\\]"}" { // next line contains an end marker, see bug 752712 + g_inSpecialComment=yytext[2]=='/' || yytext[2]=='!'; + copyToOutput(yytext,(int)yyleng); + g_readLineCtx=YY_START; + BEGIN(ReadLine); + } <Scan>"//"/.*\n { /* one line C++ comment */ g_inSpecialComment=yytext[2]=='/' || yytext[2]=='!'; copyToOutput(yytext,(int)yyleng); |