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…
Reference in New Issue