mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 18:06:07 +02:00
Internals: Set isParameterized near hasGParam. No functional change intended.
This commit is contained in:
+4
-1
@@ -315,7 +315,10 @@ class LinkParseVisitor final : public VNVisitor {
|
||||
nodep->varType(VVarType::LPARAM);
|
||||
}
|
||||
}
|
||||
if (nodep->isGParam() && m_modp) m_modp->hasGParam(true);
|
||||
if (nodep->isGParam() && m_modp) {
|
||||
m_modp->hasGParam(true);
|
||||
if (AstClass* const classp = VN_CAST(m_modp, Class)) classp->isParameterized(true);
|
||||
}
|
||||
|
||||
if (nodep->isParam() && !nodep->valuep()
|
||||
&& nodep->fileline()->language() < V3LangCode::L1800_2009) {
|
||||
|
||||
@@ -7160,7 +7160,6 @@ class_declaration<nodep>: // ==IEEE: part of class_declaration
|
||||
}
|
||||
/*cont*/ class_itemListEnd endLabelE
|
||||
{ $$ = $1; $1->addMembersp($2);
|
||||
if ($2) $1->isParameterized(true);
|
||||
$1->addExtendsp($3);
|
||||
$1->addExtendsp($4);
|
||||
$1->addMembersp($7);
|
||||
|
||||
Reference in New Issue
Block a user