ENH: only report the first occurance of missing file when making dependencies

This commit is contained in:
Mark Olesen
2010-03-09 10:36:55 +01:00
parent 03b30396cb
commit 27ecc9177c
3 changed files with 42 additions and 16 deletions

View File

@ -127,6 +127,9 @@ void Parser::includeFile(const std::string& name)
L"could not open file %s for source file %s\n",
name.c_str(), sourceFile.c_str()
);
// only report the first occurance
visitedFiles_.insert(name);
}
}