summaryrefslogtreecommitdiffstats
path: root/vhdlparser
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-12 20:11:53 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-12 20:11:53 (GMT)
commitec2f456688dcc33008f7649d33930b49a71dff30 (patch)
treea2daf8ca66bc624aca958cea35f2e3a1afe7489e /vhdlparser
parent8e9306fe1f1673772b6695ee390ce781898e8565 (diff)
parentac303e2ff9e3a66cbe128c30c2986ed92851ceb6 (diff)
downloadDoxygen-ec2f456688dcc33008f7649d33930b49a71dff30.zip
Doxygen-ec2f456688dcc33008f7649d33930b49a71dff30.tar.gz
Doxygen-ec2f456688dcc33008f7649d33930b49a71dff30.tar.bz2
Merge branch 'feature/issue_7436' of https://github.com/albert-github/doxygen into albert-github-feature/issue_7436
Diffstat (limited to 'vhdlparser')
-rw-r--r--vhdlparser/vhdlparser.jj12
1 files changed, 6 insertions, 6 deletions
diff --git a/vhdlparser/vhdlparser.jj b/vhdlparser/vhdlparser.jj
index 8a76bc6..3151528 100644
--- a/vhdlparser/vhdlparser.jj
+++ b/vhdlparser/vhdlparser.jj
@@ -107,17 +107,17 @@ SKIP:
// VHDL 2008 doxygen comment /*! .... */
SKIP :
{
- <MULT_DOXYGEN_VHDL_COMMENT_2008 : "/*!" (~[])* "*/" >
+ <MULT_DOXYGEN_VHDL_COMMENT_2008 : "/*!" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/">
{
{
- QCString q(image.data());
- q.stripPrefix("/*!");
- q.resize(q.length()-2);
+ QCString q = filter2008VhdlComment(image.data());
::vhdl::parser::VhdlParser::handleCommentBlock(q.data(),TRUE);image.clear();
}
}
- | <MULT_VHDL_2008_COMMENT : "/*" (~[])* "*/" > {::vhdl::parser::VhdlParser::lineCount(image.data());image.clear();}
-}
+ | <MULT_VHDL_2008_COMMENT : "/*" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/">
+ {
+ ::vhdl::parser::VhdlParser::lineCount(image.data());image.clear();}
+ }
/* KEYWORDS */