summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-04-21 21:10:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-04-21 21:10:51 (GMT)
commit4a8c2f5c896a1883a0611d972952a68498002ae5 (patch)
tree81218085d3e6e15b1ce6c418734013d48e9deda8 /src/commentcnv.l
parent570375c30adbdb66714d465d849b18e0df9dd6e6 (diff)
downloadDoxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.zip
Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.tar.gz
Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.tar.bz2
Release-1.4.2-20050421
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index c93b0c0..d1c4ad7 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -523,8 +523,10 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
while (!g_condStack.isEmpty())
{
CondCtx *ctx = g_condStack.pop();
- warn(g_fileName,ctx->lineNr,"Conditional section with %s does not have "
- "a corresponding \\endcond command within this file.",ctx->sectionId.data());
+ QCString sectionInfo = " ";
+ if (ctx->sectionId!=" ") sectionInfo.sprintf(" with label %s ",ctx->sectionId.data());
+ warn(g_fileName,ctx->lineNr,"Conditional section%sdoes not have "
+ "a corresponding \\endcond command within this file.",sectionInfo.data());
}
if (Debug::isFlagSet(Debug::CommentCnv))
{