summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-12-19 14:33:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-12-19 14:33:12 (GMT)
commitc7f7c954ec1356e7f361da0d655c72ca0012a0cf (patch)
treea4d1f7095c4a089986dc9ad2500a8348f05f84fd /src/commentcnv.l
parentf9c9edba086f544b813ff036ea9209744da18c44 (diff)
downloadDoxygen-c7f7c954ec1356e7f361da0d655c72ca0012a0cf.zip
Doxygen-c7f7c954ec1356e7f361da0d655c72ca0012a0cf.tar.gz
Doxygen-c7f7c954ec1356e7f361da0d655c72ca0012a0cf.tar.bz2
Bug 735584 - Reached end of file while still insided a (nested) comment in Markdown
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 352985f..64e18be 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -1011,7 +1011,7 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
warn(g_fileName,ctx->lineNr,"Conditional section%sdoes not have "
"a corresponding \\endcond command within this file.",sectionInfo.data());
}
- if (g_nestingCount>0 || (YY_START==CComment && g_lang!=SrcLangExt_Markdown))
+ if (g_nestingCount>0 && g_lang!=SrcLangExt_Markdown)
{
QCString tmp= "(probable line reference: ";
bool first = TRUE;