summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-10-02 21:28:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-10-02 21:28:55 (GMT)
commit8591786867111568298394242a80ddc0a321f5ad (patch)
treedd9b0251953724c9189d6d7bc103567573dbc6a0 /Source/cmListFileCache.cxx
parentc9caf2390c86b98bbeca1e4e52d04fbbb563f083 (diff)
downloadCMake-8591786867111568298394242a80ddc0a321f5ad.zip
CMake-8591786867111568298394242a80ddc0a321f5ad.tar.gz
CMake-8591786867111568298394242a80ddc0a321f5ad.tar.bz2
ENH: add better error reports in parsing cmake files, like what file has the error
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 1fade07..19eafac 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -76,7 +76,8 @@ bool cmListFileCache::CacheFile(const char* path)
cmListFileFunction inFunction;
if(cmSystemTools::ParseFunction(fin,
inFunction.m_Name,
- inFunction.m_Arguments))
+ inFunction.m_Arguments,
+ path))
{
inFile.m_Functions.push_back(inFunction);
}