cmMakefile: Change order of raii scopes.

This commit is contained in:
Stephen Kelly 2015-06-21 19:45:20 +02:00
parent 384a0dba63
commit 9166b49d70
1 changed files with 1 additions and 1 deletions

View File

@ -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();