summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-08 15:01:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-08 15:01:13 (GMT)
commitb4b40f4c7ea57655d1264e8f72c754526e3a9209 (patch)
tree91d568ff3ea9d8e0a0f056fdf613e79e3eefd22e /src/commentcnv.l
parent68080883535bb146e2e4f65943c8b836da6b68e0 (diff)
downloadDoxygen-b4b40f4c7ea57655d1264e8f72c754526e3a9209.zip
Doxygen-b4b40f4c7ea57655d1264e8f72c754526e3a9209.tar.gz
Doxygen-b4b40f4c7ea57655d1264e8f72c754526e3a9209.tar.bz2
Bug 683115 - Command ignored when using umlauts in markdown and also C-comments in markdown didn't work properly
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index daec1e2..6433974 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -615,9 +615,9 @@ void replaceComment(int offset);
}
else
{
+ copyToOutput(yytext,(int)yyleng);
if (g_nestingCount<=0)
{
- copyToOutput(yytext,(int)yyleng);
BEGIN(Scan);
}
else
@@ -977,7 +977,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)
+ if (g_nestingCount>0 || (YY_START==CComment && g_lang!=SrcLangExt_Markdown))
{
warn(g_fileName,g_lineNr,"Reached end of file while still inside a (nested) comment. "
"Nesting level %d",g_nestingCount+1); // add one for "normal" expected end of comment