cmMakefile: Change order of raii scopes.
This commit is contained in:
parent
384a0dba63
commit
9166b49d70
|
@ -605,8 +605,8 @@ void cmMakefile::ReadListFileInternal(cmListFile const& listFile,
|
|||
bool noPolicyScope)
|
||||
{
|
||||
// Enforce balanced blocks (if/endif, function/endfunction, etc.).
|
||||
LexicalPushPop lexScope(this);
|
||||
IncludeScope incScope(this, filenametoread, noPolicyScope);
|
||||
LexicalPushPop lexScope(this);
|
||||
|
||||
// Run the parsed commands.
|
||||
const size_t numberFunctions = listFile.Functions.size();
|
||||
|
|
Loading…
Reference in New Issue