summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-07 13:59:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-07 13:59:33 (GMT)
commitf7663cf300375b4ec8d8fe052f3da48782743919 (patch)
tree3e64b1aec3997c50067962fa4c7c36dad58e2f7a /src/commentcnv.l
parentc78c338fffbdbb9b2379b1896e647f7cc697da57 (diff)
downloadDoxygen-f7663cf300375b4ec8d8fe052f3da48782743919.zip
Doxygen-f7663cf300375b4ec8d8fe052f3da48782743919.tar.gz
Doxygen-f7663cf300375b4ec8d8fe052f3da48782743919.tar.bz2
Problem with \cond in normal comment of test 015
In the \cond is also recognized in non-doxygen comment. - As a work around the \ has been removed - in case of e.g. pdf the enabled function is not shown as it does not have a doxygen comment - test file output update due to change in input code. - pre.l and commentcnv.l. better error message i.e. showing better the used condition
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 89d2fea..10dab28 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -1068,7 +1068,7 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
{
CondCtx *ctx = g_condStack.pop();
QCString sectionInfo = " ";
- if (ctx->sectionId!=" ") sectionInfo.sprintf(" with label %s ",ctx->sectionId.data());
+ if (ctx->sectionId!=" ") sectionInfo.sprintf(" with label '%s' ",ctx->sectionId.stripWhiteSpace().data());
warn(g_fileName,ctx->lineNr,"Conditional section%sdoes not have "
"a corresponding \\endcond command within this file.",sectionInfo.data());
}