mirror of
https://github.com/reactos/CMake.git
synced 2025-02-09 13:22:20 +00:00
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…
x
Reference in New Issue
Block a user