Parser: Store the Backtrace for use in issuing messages
This commit is contained in:
parent
96de37092a
commit
db7de303c2
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue