summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-30 09:10:01 (GMT)
committerGitHub <noreply@github.com>2020-12-30 09:10:01 (GMT)
commitb606b36a17da31b0585e36927c6db218b4bf64e5 (patch)
tree8fec326e9ee93ba948f3ef8fc43afdc04eef627f /src
parent5ddbe23ccbdd0244b816adca2d9dc3fb5c26cea6 (diff)
parent175839272b098316a7ec434a85154fbf27669c3e (diff)
downloadDoxygen-b606b36a17da31b0585e36927c6db218b4bf64e5.zip
Doxygen-b606b36a17da31b0585e36927c6db218b4bf64e5.tar.gz
Doxygen-b606b36a17da31b0585e36927c6db218b4bf64e5.tar.bz2
Merge pull request #8288 from albert-github/feature/issue_8286_2
issue #8286 Incorrect processing of VHDL strings (comment part)
Diffstat (limited to 'src')
-rw-r--r--src/commentcnv.l10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 036f830..b92381a 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -348,6 +348,16 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER}
yyextra->commentStack.push(new CommentCtx(yyextra->lineNr));
}
}
+<Scan>"--"[^!][^\n]* {
+ if (yyextra->lang!=SrcLangExt_VHDL)
+ {
+ REJECT;
+ }
+ else
+ {
+ copyToOutput(yyscanner,yytext,(int)yyleng);
+ }
+ }
<Scan>"--!" {
if (yyextra->lang!=SrcLangExt_VHDL)
{