From 237f5cfe759a9e0abc9514824f02581f84058d50 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 17 Oct 2019 10:57:13 +0200 Subject: 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. --- vhdlparser/vhdlparser.jj | 4 ++-- 1 file 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;} s=identifier() { lastCompound=current.get(); - std::unique_ptr clone=std::make_unique_ptr(*current); + std::unique_ptr clone=std::make_unique(*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) -- cgit v0.12