Internals: Set missing timescale though it is not referred yet. (#2946)
This commit is contained in:
parent
00cedf3797
commit
f7c23c4ade
|
|
@ -108,6 +108,7 @@ private:
|
|||
// Like newFireAssert() but omits the asserts-on check
|
||||
AstDisplay* dispp = new AstDisplay(nodep->fileline(), AstDisplayType::DT_ERROR, message,
|
||||
nullptr, nullptr);
|
||||
dispp->fmtp()->timeunit(m_modp->timeunit());
|
||||
AstNode* bodysp = dispp;
|
||||
replaceDisplay(dispp, "%%Error"); // Convert to standard DISPLAY format
|
||||
bodysp->addNext(new AstStop(nodep->fileline(), true));
|
||||
|
|
|
|||
Loading…
Reference in New Issue