summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-08-17 16:21:45 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-08-17 16:21:45 (GMT)
commitdd0920f6b863bba58b0a64e7e983469380b29033 (patch)
tree1ff7231f5473b970d6aa1a508fc276a69d37cf9b /src/commentcnv.l
parent66ae8f62afbdc98c1c190fcc74a8263e7e6a0aa8 (diff)
downloadDoxygen-dd0920f6b863bba58b0a64e7e983469380b29033.zip
Doxygen-dd0920f6b863bba58b0a64e7e983469380b29033.tar.gz
Doxygen-dd0920f6b863bba58b0a64e7e983469380b29033.tar.bz2
Strange '*/' in Fortran nad Markdown with conditional sections
In case of a construct like (Markdown, analogous for Fortran): ``` test text @cond: after cond whatever @endcond some more text ``` we get a `*/` after `test text` that should not be present. Other places exclude besides Pyton and VHDL also Fortran and Markdown and that should happen here as well.
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index a5dd0af..2550227 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -914,7 +914,9 @@ void replaceComment(int offset);
{
//printf("** Adding terminator for comment!\n");
if (g_lang!=SrcLangExt_Python &&
- g_lang!=SrcLangExt_VHDL)
+ g_lang!=SrcLangExt_VHDL &&
+ g_lang!=SrcLangExt_Markdown &&
+ g_lang!=SrcLangExt_Fortran)
{
ADDCHAR('*');
ADDCHAR('/');