mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix -G dropping public indication (#2561).
This commit is contained in:
@@ -1128,6 +1128,7 @@ class LinkDotFindVisitor : public AstNVisitor {
|
||||
AstVar* newp
|
||||
= new AstVar(nodep->fileline(), AstVarType(AstVarType::GPARAM),
|
||||
nodep->name(), nodep);
|
||||
newp->combineType(nodep);
|
||||
string svalue = v3Global.opt.parameter(nodep->name());
|
||||
if (AstNode* valuep
|
||||
= AstConst::parseParamLiteral(nodep->fileline(), svalue)) {
|
||||
|
||||
Reference in New Issue
Block a user