summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-07-28 19:05:01 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-07-28 19:05:01 (GMT)
commitf0e47672cc3f910aebd1d30fe3db21e9dbd943c4 (patch)
treeaa81c2bd3e6109417a6bd30d6a58111d892f25f2 /src/commentscan.l
parentd0412f05557d55f465407a9337553c0a6ee0396f (diff)
downloadDoxygen-f0e47672cc3f910aebd1d30fe3db21e9dbd943c4.zip
Doxygen-f0e47672cc3f910aebd1d30fe3db21e9dbd943c4.tar.gz
Doxygen-f0e47672cc3f910aebd1d30fe3db21e9dbd943c4.tar.bz2
Release-1.7.1-20100728
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l10
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;
}