diff options
author | albert-github <albert.tests@gmail.com> | 2018-05-07 13:59:33 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-05-07 13:59:33 (GMT) |
commit | f7663cf300375b4ec8d8fe052f3da48782743919 (patch) | |
tree | 3e64b1aec3997c50067962fa4c7c36dad58e2f7a /src | |
parent | c78c338fffbdbb9b2379b1896e647f7cc697da57 (diff) | |
download | Doxygen-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')
-rw-r--r-- | src/commentcnv.l | 2 | ||||
-rw-r--r-- | src/pre.l | 2 |
2 files changed, 2 insertions, 2 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()); } @@ -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; |