mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: only report the first occurance of missing file when making dependencies
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user