summaryrefslogtreecommitdiff
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-01-28 22:10:24 +0100
committerStephen Kelly <steveire@gmail.com>2016-08-24 19:19:37 +0200
commitdb7de303c2a1e35b672016833db4bf85148c98c2 (patch)
treeb44dc900b1888a74f1999b72c59f009c6dfdc504 /Source/cmListFileCache.cxx
parent96de37092a29cb2e7a92e9cb10b0ef47bca32732 (diff)
downloadcmake-db7de303c2a1e35b672016833db4bf85148c98c2.tar.gz
Parser: Store the Backtrace for use in issuing messages
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 1967d2a1af..1a2ddaff48 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -30,6 +30,7 @@ struct cmListFileParser
cmListFileArgument::Delimiter delim);
cmListFile* ListFile;
cmMakefile* Makefile;
+ cmListFileBacktrace Backtrace;
const char* FileName;
cmListFileLexer* Lexer;
cmListFileFunction Function;
@@ -45,6 +46,7 @@ cmListFileParser::cmListFileParser(cmListFile* lf, cmMakefile* mf,
const char* filename)
: ListFile(lf)
, Makefile(mf)
+ , Backtrace(mf->GetBacktrace())
, FileName(filename)
, Lexer(cmListFileLexer_New())
{