summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index e1ca49c..768db32 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -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;
}