diff options
author | albert-github <albert.tests@gmail.com> | 2015-11-14 12:42:31 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-11-22 13:00:35 (GMT) |
commit | c5a7911741850777b699a63ae5b7702e379a5ada (patch) | |
tree | 985dca09f920c90bf91fd12328ae5e1614a6d327 /src | |
parent | 8504fc3a06e3430242eab9ac1c1f20319112e6a9 (diff) | |
download | Doxygen-c5a7911741850777b699a63ae5b7702e379a5ada.zip Doxygen-c5a7911741850777b699a63ae5b7702e379a5ada.tar.gz Doxygen-c5a7911741850777b699a63ae5b7702e379a5ada.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.l | 2 |
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('*'); |