diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-01-28 21:10:24 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-24 17:19:37 (GMT) |
commit | db7de303c2a1e35b672016833db4bf85148c98c2 (patch) | |
tree | b44dc900b1888a74f1999b72c59f009c6dfdc504 /Source/cmListFileCache.cxx | |
parent | 96de37092a29cb2e7a92e9cb10b0ef47bca32732 (diff) | |
download | CMake-db7de303c2a1e35b672016833db4bf85148c98c2.zip CMake-db7de303c2a1e35b672016833db4bf85148c98c2.tar.gz CMake-db7de303c2a1e35b672016833db4bf85148c98c2.tar.bz2 |
Parser: Store the Backtrace for use in issuing messages
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r-- | Source/cmListFileCache.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx index 1967d2a..1a2ddaf 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()) { |