summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-21 17:45:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 18:10:48 (GMT)
commit9166b49d70746dcd36e6e891c78734b559e0fccf (patch)
treebf9cc30989a22cd983efe3e2e1c779c050df2587 /Source
parent384a0dba63b166d94a199b12f104e53496a3302a (diff)
downloadCMake-9166b49d70746dcd36e6e891c78734b559e0fccf.zip
CMake-9166b49d70746dcd36e6e891c78734b559e0fccf.tar.gz
CMake-9166b49d70746dcd36e6e891c78734b559e0fccf.tar.bz2
cmMakefile: Change order of raii scopes.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 93a6c08..15a3710 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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();