mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 10:01:11 +02:00
On WIDTH warnings, show variable name causing error.
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ private:
|
||||
if (!nodep->user4()) {
|
||||
if (nodep->backp()->castCFunc()
|
||||
&& !(nodep->castNodeStmt() || nodep->castCFunc())) {
|
||||
nodep->v3fatalSrc("Node "<<nodep->typeName()<<" in statement position but not marked stmt (node under function)");
|
||||
nodep->v3fatalSrc("Node "<<nodep->prettyTypeName()<<" in statement position but not marked stmt (node under function)");
|
||||
}
|
||||
V3Hash oldHash = m_lowerHash;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user