summaryrefslogtreecommitdiffstats
path: root/vhdlparser
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-10-17 08:57:13 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-10-17 08:57:13 (GMT)
commit237f5cfe759a9e0abc9514824f02581f84058d50 (patch)
treef12e0a8be4679bb52d41e167ca134504ec7c8836 /vhdlparser
parent3bd04d0d99b4fbc36167ee6981ce3bfb4c0eb3b2 (diff)
downloadDoxygen-237f5cfe759a9e0abc9514824f02581f84058d50.zip
Doxygen-237f5cfe759a9e0abc9514824f02581f84058d50.tar.gz
Doxygen-237f5cfe759a9e0abc9514824f02581f84058d50.tar.bz2
Discrepancy between vhdl input and generated sources
The generated vhdl code files (.cc and .h) and didn't match the vhdl input source (vhdlpardser.jj). When regenerating with javacc the vhdl code file they didn't compile. vhdlparser.jj has been corrected.
Diffstat (limited to 'vhdlparser')
-rw-r--r--vhdlparser/vhdlparser.jj4
1 files changed, 2 insertions, 2 deletions
diff --git a/vhdlparser/vhdlparser.jj b/vhdlparser/vhdlparser.jj
index 6eb95b4..126118c 100644
--- a/vhdlparser/vhdlparser.jj
+++ b/vhdlparser/vhdlparser.jj
@@ -1730,7 +1730,7 @@ void package_declaration(): {QCString s;}
<PACKAGE_T> s=identifier() <IS_T>
{
lastCompound=current.get();
- std::unique_ptr<Entry> clone=std::make_unique_ptr<Entry>(*current);
+ std::unique_ptr<Entry> clone=std::make_unique<Entry>(*current);
clone->section=Entry::NAMESPACE_SEC;
clone->spec=VhdlDocGen::PACKAGE;
clone->name=s;
@@ -1932,7 +1932,7 @@ void process_statement() : {QCString s,s1,s2;Token *tok=0;}
currName=s;
current->name=currName;
- tempEntry=current;
+ tempEntry=current.get();
current->endBodyLine=getLine();
currP=0;
if(tok)