summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-12 16:36:28 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-12 16:36:28 (GMT)
commit54541bd40a6083b3969c2e2dc53292d1a67b69c2 (patch)
treeaf5a806a88d11cc4cf8e6779d0ad7a8610d442e8 /Source/cmListFileCache.h
parentfe26cf51f575b30299f1ecfff112cf095a5c6f48 (diff)
downloadCMake-54541bd40a6083b3969c2e2dc53292d1a67b69c2.zip
CMake-54541bd40a6083b3969c2e2dc53292d1a67b69c2.tar.gz
CMake-54541bd40a6083b3969c2e2dc53292d1a67b69c2.tar.bz2
ENH: Improved filename/line number reporting in error message. Macro invocations now chain up the error message.
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 9dc8073..b28baa5 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -84,7 +84,7 @@ public:
*/
static bool ParseFunction(std::ifstream&, cmListFileFunction& function,
const char* filename, bool& parseError,
- long* line = 0);
+ long& line);
/**
* Extract white-space separated arguments from a string.