summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionBlocker.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-08-05 15:21:46 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-08-22 14:25:53 (GMT)
commit553da0685f4ed8785a0426caebad7338e8813322 (patch)
tree043c98815af0baaee4684fe6fa21493e911d13b5 /Source/cmFunctionBlocker.h
parent02c067dee5b53ca318f3acd245795172a0280f1f (diff)
downloadCMake-553da0685f4ed8785a0426caebad7338e8813322.zip
CMake-553da0685f4ed8785a0426caebad7338e8813322.tar.gz
CMake-553da0685f4ed8785a0426caebad7338e8813322.tar.bz2
cmFunctionBlocker: Add handling of close block without parameters.
Diffstat (limited to 'Source/cmFunctionBlocker.h')
-rw-r--r--Source/cmFunctionBlocker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h
index 38abeba..3e096f2 100644
--- a/Source/cmFunctionBlocker.h
+++ b/Source/cmFunctionBlocker.h
@@ -38,6 +38,8 @@ private:
virtual cm::string_view StartCommandName() const = 0;
virtual cm::string_view EndCommandName() const = 0;
+ virtual bool EndCommandSupportsArguments() const { return true; }
+
virtual bool ArgumentsMatch(cmListFileFunction const& lff,
cmMakefile& mf) const = 0;