summaryrefslogtreecommitdiff
path: root/Source/cmMacroCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMacroCommand.h')
-rw-r--r--Source/cmMacroCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index 99e8b91b8a..d93bdd86b1 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