diff options
Diffstat (limited to 'Source/cmMacroCommand.h')
-rw-r--r-- | Source/cmMacroCommand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h index 99e8b91..d93bdd8 100644 --- a/Source/cmMacroCommand.h +++ b/Source/cmMacroCommand.h @@ -28,7 +28,7 @@ class cmMacroFunctionBlocker : public cmFunctionBlocker { public: - cmMacroFunctionBlocker() {} + cmMacroFunctionBlocker() {this->Depth=0;} virtual ~cmMacroFunctionBlocker() {} virtual bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile &mf); virtual bool ShouldRemove(const cmListFileFunction&, cmMakefile &mf); @@ -36,6 +36,7 @@ public: std::vector<std::string> Args; std::vector<cmListFileFunction> Functions; + int Depth; }; /** \class cmMacroCommand |