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)
|
bool noPolicyScope)
|
||||||
{
|
{
|
||||||
// Enforce balanced blocks (if/endif, function/endfunction, etc.).
|
// Enforce balanced blocks (if/endif, function/endfunction, etc.).
|
||||||
LexicalPushPop lexScope(this);
|
|
||||||
IncludeScope incScope(this, filenametoread, noPolicyScope);
|
IncludeScope incScope(this, filenametoread, noPolicyScope);
|
||||||
|
LexicalPushPop lexScope(this);
|
||||||
|
|
||||||
// Run the parsed commands.
|
// Run the parsed commands.
|
||||||
const size_t numberFunctions = listFile.Functions.size();
|
const size_t numberFunctions = listFile.Functions.size();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user