summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-11-14 12:42:31 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-11-14 12:42:31 (GMT)
commitdc26830396970d402ad42d20f1b99bd86f4a5961 (patch)
tree8eb19daa22ac250f956992cd00f4741c69616dbc /src
parente2dd83527381c67d38434e5cf1348f2a94887500 (diff)
downloadDoxygen-dc26830396970d402ad42d20f1b99bd86f4a5961.zip
Doxygen-dc26830396970d402ad42d20f1b99bd86f4a5961.tar.gz
Doxygen-dc26830396970d402ad42d20f1b99bd86f4a5961.tar.bz2
Markdown with @cond and @endcond
In case markdown files are processed and they contain @cond and @endcond these are replaced wit C-style end and begin comments (and code in between is correctly removed). The C-Style comments should not be placed as they are not understood in a markdown context (analogous to what happens in Fortram, Pythone etc.). Note: in principle @cond should not be used as a markdown file is one "comment" block and thus @if should be used, though in any case no unwanted characters should be added.
Diffstat (limited to 'src')
-rw-r--r--src/commentcnv.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 8762b6a..f65c073 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -781,6 +781,7 @@ void replaceComment(int offset);
//printf("** Adding start of comment!\n");
if (g_lang!=SrcLangExt_Python &&
g_lang!=SrcLangExt_VHDL &&
+ g_lang!=SrcLangExt_Markdown &&
g_lang!=SrcLangExt_Fortran)
{
ADDCHAR('/');
@@ -800,6 +801,7 @@ void replaceComment(int offset);
{
if (g_lang!=SrcLangExt_Python &&
g_lang!=SrcLangExt_VHDL &&
+ g_lang!=SrcLangExt_Markdown &&
g_lang!=SrcLangExt_Fortran)
{
ADDCHAR('*');