Internals: Add warnMore() for all continued messages.

This commit is contained in:
Wilson Snyder
2012-05-21 21:24:17 -04:00
parent 7ab91e660f
commit 53f50463bc
15 changed files with 72 additions and 56 deletions
+1 -1
View File
@@ -977,7 +977,7 @@ private:
AstNode* errorp = simvis.whyNotNodep(); if (!errorp) errorp = nodep;
nodep->v3error("Expecting expression to be constant, but can't determine constant for "
<<nodep->prettyTypeName()<<endl
<<V3Error::msgPrefix(V3ErrorCode::EC_ERROR,false)<<errorp->fileline()<<"... Location of non-constant "
<<errorp->warnMore()<<"... Location of non-constant "
<<errorp->prettyTypeName()<<": "<<simvis.whyNotMessage());
replaceZero(nodep); nodep=NULL;
} else {