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
@@ -582,7 +582,7 @@ void GateVisitor::replaceAssigns() {
//if (debug()>9) {vscp->dumpTree(cout, "-vscDone: "); cout<<endl;}
if (!vscp->valuep()->castNodeMath()
|| vscp->valuep()->nextp()) {
vscp->dumpTree(cout, "vscStrange: ");
vscp->dumpTree(cerr, "vscStrange: ");
vscp->v3fatalSrc("Value of varscope not mathematical\n");
}
}