diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-07-28 19:05:01 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-07-28 19:05:01 (GMT) |
commit | 4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d (patch) | |
tree | aa81c2bd3e6109417a6bd30d6a58111d892f25f2 /src/commentscan.l | |
parent | c37c8626674dd6ba0d53dcad84dd4bb5d92005a4 (diff) | |
download | Doxygen-4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d.zip Doxygen-4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d.tar.gz Doxygen-4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d.tar.bz2 |
Release-1.7.1-20100728
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index bd92350..4ad0590 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -932,6 +932,11 @@ RCSTAG "$"{ID}":"[^\n$]+"$" <Comment>"<!--" { BEGIN(HtmlComment); } +<Comment>{B}*{CMD}"endinternal"{B}* { + warn(yyFileName,yyLineNr, + "warning: found \\endinternal without matching \\internal" + ); + } <Comment>{B}*{CMD}[a-z_A-Z]+{B}* { // potentially interesting command // the {B}* in the front was added for bug620924 QCString cmdName = QCString(yytext).stripWhiteSpace().data()+1; @@ -1770,6 +1775,9 @@ RCSTAG "$"{ID}":"[^\n$]+"$" BEGIN(Comment); } } +<SkipInternal>[@\\]"endinternal"[ \t]* { + BEGIN(Comment); + } <SkipInternal>[^ \\@\n]+ { // skip non-special characters } <SkipInternal>. { // any other character @@ -2372,7 +2380,7 @@ static bool handleInternal(const QCString &) } else { - addOutput("\\internal "); + //addOutput("\\internal "); } return FALSE; } |