Fix error message continuations to avoid linenumber repetition

This commit is contained in:
Wilson Snyder
2019-07-11 19:15:40 -04:00
parent 13a20c5ee9
commit dacf45fea9
18 changed files with 39 additions and 27 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ public:
nodep->v3warn(IMPURE, "Unsupported: External variable referenced by non-inlined function/task: "
<<nodep->prettyName()<<endl
<<nodep->warnContextPrimary()<<endl
<<vxp->impureNode()->warnMore()<<"... Location of the external reference: "
<<vxp->impureNode()->warnOther()<<"... Location of the external reference: "
<<vxp->impureNode()->prettyName()<<endl
<<vxp->impureNode()->warnContextSecondary());
}
@@ -844,7 +844,7 @@ private:
<<nodep->prettyName()<<endl
<<nodep->warnContextPrimary()<<endl
<<nodep->warnMore()<<"... New prototype: "<<dpiproto<<endl
<<iter->second.first->warnMore()<<"... Original prototype: "
<<iter->second.first->warnOther()<<"... Original prototype: "
<<iter->second.second<<endl
<<iter->second.first->warnContextSecondary());
return true;