Error continuation lines no longer have %Error prefix.

This commit is contained in:
Wilson Snyder
2019-05-30 20:30:59 -04:00
parent c0be8bcefb
commit a58e7d94ec
103 changed files with 275 additions and 261 deletions
+6 -4
View File
@@ -117,12 +117,14 @@ static bool domainsExclusive(const AstSenTree* fromp, const AstSenTree* top);
void OrderGraph::loopsVertexCb(V3GraphVertex* vertexp) {
if (debug()) cout<<"-Info-Loop: "<<vertexp<<" "<<endl;
if (OrderLogicVertex* vvertexp = dynamic_cast<OrderLogicVertex*>(vertexp)) {
std::cerr<<V3Error::msgPrefix()<<" Example path: "
<<vvertexp->nodep()->fileline()<<" "<<vvertexp->nodep()->typeName()<<endl;
std::cerr<<vvertexp->nodep()->fileline()->warnMore()
<<" Example path: "
<<vvertexp->nodep()->typeName()<<endl;
}
if (OrderVarVertex* vvertexp = dynamic_cast<OrderVarVertex*>(vertexp)) {
std::cerr<<V3Error::msgPrefix()<<" Example path: "
<<vvertexp->varScp()->fileline()<<" "<<vvertexp->varScp()->prettyName()<<endl;
std::cerr<<vvertexp->varScp()->fileline()->warnMore()
<<" Example path: "
<<vvertexp->varScp()->prettyName()<<endl;
}
};