summaryrefslogtreecommitdiffstats
path: root/src/vhdljjparser.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-12-11 19:14:29 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-12-11 19:14:29 (GMT)
commit1a5bbadb43b2d30e338d26a0d495b60e2b12f704 (patch)
tree36fe86281370507e9ba4706b5edcfd31dc8c8116 /src/vhdljjparser.h
parent2ed458302d43a6385c310c685fa4174818f0b67e (diff)
downloadDoxygen-1a5bbadb43b2d30e338d26a0d495b60e2b12f704.zip
Doxygen-1a5bbadb43b2d30e338d26a0d495b60e2b12f704.tar.gz
Doxygen-1a5bbadb43b2d30e338d26a0d495b60e2b12f704.tar.bz2
issue #7436 Incorrect handling of block comments in VHDL
The search for `/*` or /*!` ended at the last `*/` in a file and thus skipping other intermediate block end and new starts. Also the intermediate code was lost see as comment. The filter pattern used was incorrect and should have been `<"/*" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/">` (thanks to https://javacc.org/contrib/C.jj). Here also the space plus one or more `*` at the end beginning of the line are still incorporated as well as multiple `*` before the colosing `*/` this is also filtered.
Diffstat (limited to 'src/vhdljjparser.h')
-rw-r--r--src/vhdljjparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdljjparser.h b/src/vhdljjparser.h
index 53eb0be..f6cd17d 100644
--- a/src/vhdljjparser.h
+++ b/src/vhdljjparser.h
@@ -83,5 +83,5 @@ void vhdlscanFreeScanner();
const QList<VhdlConfNode>& getVhdlConfiguration();
const std::vector<std::shared_ptr<Entry> >&getVhdlInstList();
-
+QCString filter2008VhdlComment(const char *s);
#endif