diff --git a/src/V3Error.h b/src/V3Error.h index 0643ff8bf..e1032a0dd 100644 --- a/src/V3Error.h +++ b/src/V3Error.h @@ -228,8 +228,8 @@ public: bool pretendError() const VL_MT_SAFE { return (m_e == ASSIGNIN || m_e == BADSTDPRAGMA || m_e == BLKANDNBLK || m_e == BLKLOOPINIT || m_e == CONTASSREG || m_e == ENCAPSULATED || m_e == ENDLABEL || m_e == ENUMVALUE - || m_e == IMPURE || m_e == PINNOTFOUND || m_e == PKGNODECL - || m_e == PROCASSWIRE || m_e == ZEROREPL // Says IEEE + || m_e == IMPURE || m_e == PINNOTFOUND || m_e == PKGNODECL || m_e == PROCASSWIRE + || m_e == ZEROREPL // Says IEEE ); } // Warnings to mention manual diff --git a/src/V3Width.cpp b/src/V3Width.cpp index bbc9542f7..47d572b93 100644 --- a/src/V3Width.cpp +++ b/src/V3Width.cpp @@ -781,8 +781,9 @@ class WidthVisitor final : public VNVisitor { if (!constp) nodep->v3error("Replication value isn't a constant."); if (times == 0 && !VN_IS(nodep->backp(), Concat)) { // Concat Visitor will clean it up. - nodep->v3warn(ZEROREPL, "Replication value of 0 is only legal under a concatenation" - " (IEEE 1800-2017 11.4.12.1)"); + nodep->v3warn(ZEROREPL, + "Replication value of 0 is only legal under a concatenation" + " (IEEE 1800-2017 11.4.12.1)"); times = 1; // Set to 1, so we can continue looking for errors } nodep->dtypeSetLogicUnsized((nodep->srcp()->width() * times),