mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 10:02:44 +00:00
BUG: ParseFile should return false if there was a parse error.
This commit is contained in:
parent
e9d99f13ec
commit
9b0df0d692
@ -139,6 +139,10 @@ bool cmListFile::ParseFile(const char* filename, bool requireProjectCommand)
|
||||
this->Functions.insert(this->Functions.begin(),project);
|
||||
}
|
||||
}
|
||||
if(parseError)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user