Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
9166b49d
Commit
9166b49d
authored
Jun 21, 2015
by
Stephen Kelly
Browse files
cmMakefile: Change order of raii scopes.
parent
384a0dba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefile.cxx
View file @
9166b49d
...
@@ -605,8 +605,8 @@ void cmMakefile::ReadListFileInternal(cmListFile const& listFile,
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment