Add descriptive headers to output files

This commit is contained in:
Wilson Snyder
2009-12-02 20:09:13 -05:00
parent 66b5fa821c
commit fc70ae180e
5 changed files with 13 additions and 0 deletions
+4
View File
@@ -144,6 +144,7 @@ inline void V3FileDependImp::writeTimes(const string& filename, const string& cm
if (ofp->fail()) v3fatalSrc("Can't write "<<filename);
string cmdline = stripQuotes(cmdlineIn);
*ofp<<"# DESCR"<<"IPTION: Verilator output: Timestamp data for --skip-identical. Delete at will."<<endl;
*ofp<<"C \""<<cmdline<<"\""<<endl;
#if !defined (__MINGW32__)
@@ -171,6 +172,9 @@ inline bool V3FileDependImp::checkTimes(const string& filename, const string& cm
UINFO(2," --check-times failed: no input "<<filename<<endl);
return false;
}
{
string ignore; getline(*ifp, ignore);
}
{
char chkDir; *ifp>>chkDir;
char quote; *ifp>>quote;