On WIDTH warnings, show variable name causing error.

This commit is contained in:
Wilson Snyder
2009-07-09 17:39:24 -04:00
parent 8174c1ad02
commit 6835aecdce
15 changed files with 43 additions and 35 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ private:
// In production code, we'll just not optimize. It should be fixed though.
clearOptimizable(nodep, "Unknown node type, perhaps missing visitor in TableSimulateVisitor");
#ifdef VL_DEBUG
UINFO(0,"Unknown node type in TableSimulateVisitor: "<<nodep->typeName()<<endl);
UINFO(0,"Unknown node type in TableSimulateVisitor: "<<nodep->prettyTypeName()<<endl);
#endif
}
} else { // simulating