Commit 9166b49d authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmMakefile: Change order of raii scopes.

parent 384a0dba
......@@ -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();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment