diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-09 16:56:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-09 16:56:34 (GMT) |
commit | 784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca (patch) | |
tree | 84818288910d8f77f48ecf8e6b5fe3f4291d7a18 /src/commentcnv.l | |
parent | 4c054d8406f9e4ceb582001c48cf659262774d0c (diff) | |
download | Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.zip Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.gz Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.bz2 |
Release-1.2.16-20020609
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index de7e8a7..bba1b21 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -162,22 +162,22 @@ static int yyread(char *buf,int max_size) copyToOutput(yytext,yyleng); BEGIN(Scan); } -<SComment>^[ \t]*"///"[\/]*\n { +<SComment>^[ \t]*"///"[\/]*/\n { replaceCommentMarker(yytext,yyleng); } -<SComment>^[ \t]*"///"[^\/\n].*/\n { - replaceCommentMarker(yytext,yyleng); - } -<SComment>^[ \t]*"//!".*/\n { /* second line of special comment */ +<SComment>\n[ \t]*"///"[\/]*/\n { replaceCommentMarker(yytext,yyleng); } -<SComment>\n[ \t]*"///"[\/]*\n { +<SComment>^[ \t]*"///"[^\/\n].*/\n { replaceCommentMarker(yytext,yyleng); - } + } <SComment>\n[ \t]*"///"[^\/\n].*/\n { replaceCommentMarker(yytext,yyleng); } -<SComment>\n[ \t]*"//!".*/\n { /* other line of special comment */ +<SComment>^[ \t]*"//!".*/\n { + replaceCommentMarker(yytext,yyleng); + } +<SComment>\n[ \t]*"//!".*/\n { replaceCommentMarker(yytext,yyleng); } <SComment>\n { /* end of special comment */ |