Merge from master

This commit is contained in:
Wilson Snyder
2018-07-14 19:27:51 -04:00
11 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -1043,7 +1043,7 @@ void AstNode::dumpTreeFile(const string& filename, bool append, bool doDump) {
{ // Write log & close
UINFO(2,"Dumping "<<filename<<endl);
const vl_unique_ptr<std::ofstream> logsp (V3File::new_ofstream(filename, append));
if (logsp->fail()) v3fatalSrc("Can't write "<<filename);
if (logsp->fail()) v3fatal("Can't write "<<filename);
*logsp<<"Verilator Tree Dump (format 0x3900) from <e"<<std::dec<<editCountLast()<<">";
*logsp<<" to <e"<<std::dec<<editCountGbl()<<">"<<endl;
if (editCountGbl()==editCountLast()