diff options
Diffstat (limited to 'Source/cmExecutionStatus.h')
-rw-r--r-- | Source/cmExecutionStatus.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmExecutionStatus.h b/Source/cmExecutionStatus.h index 66a567e..bc1a579 100644 --- a/Source/cmExecutionStatus.h +++ b/Source/cmExecutionStatus.h @@ -42,12 +42,19 @@ public: { return this->BreakInvoked; } virtual void Clear() - { this->ReturnInvoked = false; this->BreakInvoked = false; } + { + this->ReturnInvoked = false; + this->BreakInvoked = false; + this->NestedError = false; + } + virtual void SetNestedError(bool val) { this->NestedError = val; } + virtual bool GetNestedError() { return this->NestedError; } protected: bool ReturnInvoked; bool BreakInvoked; + bool NestedError; }; #endif |