mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
Parser: Store the Backtrace for use in issuing messages
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user