BUG: ParseFile should return false if there was a parse error.

This commit is contained in:
Brad King 2007-11-19 13:42:05 -05:00
parent e9d99f13ec
commit 9b0df0d692
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}