summaryrefslogtreecommitdiffstats
path: root/src/pre.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/pre.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/pre.l')
-rw-r--r--src/pre.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index bf1ec9b..37f7115 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -3195,7 +3195,7 @@ void preprocessFile(const char *fileName,BufStr &input,BufStr &output)
{
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(fileName,ctx->lineNr,"Conditional section%sdoes not have "
"a corresponding \\endcond command within this file.",sectionInfo.data());
delete ctx;