Fix error message showing pointer

This commit is contained in:
Wilson Snyder 2019-05-13 19:31:00 -04:00
parent afdfa4df87
commit 07e6bc17db
1 changed files with 4 additions and 3 deletions

View File

@ -277,7 +277,8 @@ private:
m_rightClkWidth = varrefp->width();
if (varrefp->varp()->attrClocker() == AstVarAttrClocker::CLOCKER_YES) {
if (m_inClocked) {
varrefp->v3warn(CLKDATA, "Clock used as data (on rhs of assignment) in sequential block "<<varrefp<<endl);
varrefp->v3warn(CLKDATA, "Clock used as data (on rhs of assignment) in sequential block "
<<varrefp->prettyName()<<endl);
} else {
m_hasClk = true;
UINFO(5, "node is already marked as clocker "<<varrefp<<endl);