Add -FI option to force includes,msg2146.

This commit is contained in:
Wilson Snyder
2017-02-09 07:44:36 -05:00
parent 4a0db26c36
commit 15082a178b
11 changed files with 131 additions and 9 deletions
+7
View File
@@ -841,3 +841,10 @@ V3OutFile::~V3OutFile() {
if (m_fp) fclose(m_fp);
m_fp = NULL;
}
void V3OutFile::putsForceIncs() {
const V3StringList& forceIncs = v3Global.opt.forceIncs();
for (V3StringList::const_iterator it = forceIncs.begin(); it != forceIncs.end(); ++it) {
puts("#include \""+*it+"\"\n");
}
}