diff options
Diffstat (limited to 'Source/cmEndFunctionCommand.cxx')
-rw-r--r-- | Source/cmEndFunctionCommand.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmEndFunctionCommand.cxx b/Source/cmEndFunctionCommand.cxx new file mode 100644 index 0000000..6adb42b --- /dev/null +++ b/Source/cmEndFunctionCommand.cxx @@ -0,0 +1,15 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#include "cmEndFunctionCommand.h" + +class cmExecutionStatus; +struct cmListFileArgument; + +bool cmEndFunctionCommand::InvokeInitialPass( + std::vector<cmListFileArgument> const&, cmExecutionStatus&) +{ + this->SetError("An ENDFUNCTION command was found outside of a proper " + "FUNCTION ENDFUNCTION structure. Or its arguments did not " + "match the opening FUNCTION command."); + return false; +} |