summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-12-24 10:16:29 (GMT)
committerGitHub <noreply@github.com>2017-12-24 10:16:29 (GMT)
commit722ddd602e24862a7e3a906fa0ffa4a71a1ed255 (patch)
tree80514b6a8b1f0aa5f0239ee93d260bba45aefa03
parent4021d6e6fe2a5c1ab69ec8bd8d0910974c067513 (diff)
parent52fb4cd5bb085960476e0cd256cc81db1370839d (diff)
downloadDoxygen-722ddd602e24862a7e3a906fa0ffa4a71a1ed255.zip
Doxygen-722ddd602e24862a7e3a906fa0ffa4a71a1ed255.tar.gz
Doxygen-722ddd602e24862a7e3a906fa0ffa4a71a1ed255.tar.bz2
Merge pull request #628 from powARman/fix-vhdlparser
Fix not initialized pointer when parser is starting on a new file.
-rw-r--r--src/vhdljjparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdljjparser.cpp b/src/vhdljjparser.cpp
index fdba5e2..953cd6b 100644
--- a/src/vhdljjparser.cpp
+++ b/src/vhdljjparser.cpp
@@ -196,6 +196,7 @@ void VHDLLanguageScanner::parseInput(const char *fileName,const char *fileBuf,En
VhdlParser::lastEntity=0;
VhdlParser::currentCompound=0;
VhdlParser::lastEntity=0;
+ oldEntry = 0;
VhdlParser::current=new Entry();
VhdlParser::initEntry(VhdlParser::current);
groupEnterFile(fileName,yyLineNr);