Fix error messages to consistently go to stderr.

This commit is contained in:
Wilson Snyder
2009-01-26 07:57:59 -05:00
parent c4e69daecd
commit 2224918730
6 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ public:
void ParamVisitor::visit(AstCell* nodep, AstNUser*) {
// Cell: Check for parameters in the instantiation.
if (!nodep->modp()) { nodep->dumpTree(cout,"error:"); nodep->v3fatalSrc("Not linked?"); }
if (!nodep->modp()) { nodep->dumpTree(cerr,"error:"); nodep->v3fatalSrc("Not linked?"); }
if (nodep->paramsp()) {
UINFO(4,"De-parameterize: "<<nodep<<endl);
// Create new module name with _'s between the constants