summaryrefslogtreecommitdiff
path: root/vhdlparser
diff options
context:
space:
mode:
Diffstat (limited to 'vhdlparser')
-rw-r--r--vhdlparser/VhdlParserTokenManager.cc1
-rw-r--r--vhdlparser/vhdl_adj.py4
-rwxr-xr-xvhdlparser/vhdlparser.jj1
3 files changed, 4 insertions, 2 deletions
diff --git a/vhdlparser/VhdlParserTokenManager.cc b/vhdlparser/VhdlParserTokenManager.cc
index 3b7b396..a0cd0e7 100644
--- a/vhdlparser/VhdlParserTokenManager.cc
+++ b/vhdlparser/VhdlParserTokenManager.cc
@@ -3521,6 +3521,7 @@ void VhdlParserTokenManager::SkipLexicalActions(Token *matchedToken){
image.append(input_stream->GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
{
QCString q = filter2008VhdlComment(image.data());
+ parser->outlineParser()->lineCount(image.data());
parser->outlineParser()->handleCommentBlock(QCString(q),TRUE);image.clear();
}
break;
diff --git a/vhdlparser/vhdl_adj.py b/vhdlparser/vhdl_adj.py
index 388864a..559abc3 100644
--- a/vhdlparser/vhdl_adj.py
+++ b/vhdlparser/vhdl_adj.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
-# python script to generate configoptions.cpp and config.doc from config.xml
+# python script to adjust generated VhdlParser.cc
#
-# Copyright (C) 1997-2020 by Dimitri van Heesch.
+# Copyright (C) 1997-2021 by Dimitri van Heesch.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby
diff --git a/vhdlparser/vhdlparser.jj b/vhdlparser/vhdlparser.jj
index 3ef732e..4f7a0b8 100755
--- a/vhdlparser/vhdlparser.jj
+++ b/vhdlparser/vhdlparser.jj
@@ -128,6 +128,7 @@ SKIP :
{
{
QCString q = filter2008VhdlComment(image.data());
+ parser->outlineParser()->lineCount(image.data());
parser->outlineParser()->handleCommentBlock(QCString(q),TRUE);image.clear();
}
}