mirror of
https://github.com/verilator/verilator.git
synced 2025-01-10 08:37:35 +00:00
Internals: Concat strings only when final; prep for queues.
This commit is contained in:
parent
a56e0a6e89
commit
f62c070d06
@ -513,6 +513,8 @@ private:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (m_vup->final()) {
|
||||
if (nodep->lhsp()->isString() || nodep->rhsp()->isString()) {
|
||||
AstNode* newp = new AstConcatN(nodep->fileline(), nodep->lhsp()->unlinkFrBack(),
|
||||
nodep->rhsp()->unlinkFrBack());
|
||||
@ -520,8 +522,6 @@ private:
|
||||
VL_DO_DANGLING(pushDeletep(nodep), nodep);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (m_vup->final()) {
|
||||
if (!nodep->dtypep()->widthSized()) {
|
||||
// See also error in V3Number
|
||||
nodeForUnsizedWarning(nodep)->v3warn(
|
||||
|
Loading…
Reference in New Issue
Block a user