summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-04 12:46:05 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-04 12:46:05 (GMT)
commitfaaadc4a08e8103e25346a437fc203e05b43566c (patch)
tree8e2639af9190a312a15259bdf54e1d07e20343da /Source/cmMakefile.cxx
parentdd2876adb0b9de0b8ffc31c13736055a6eccdb2b (diff)
downloadCMake-faaadc4a08e8103e25346a437fc203e05b43566c.zip
CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.gz
CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.bz2
better If checks
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 72dd9a6..9be764f 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -290,6 +290,19 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
}
}
}
+
+ // send scope ended to and funciton blockers
+ if (filename)
+ {
+ // loop over all function blockers to see if any block this command
+ std::set<cmFunctionBlocker *>::const_iterator pos;
+ for (pos = m_FunctionBlockers.begin();
+ pos != m_FunctionBlockers.end(); ++pos)
+ {
+ (*pos)->ScopeEnded(*this);
+ }
+ }
+
return true;
}