From 4801eb633392eff95586709df570dabcdf0f5db1 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 4 Oct 2012 00:33:21 +0200 Subject: [PATCH] GenEx: It is not an error to specify an empty parameter This is allowed by the CONFIG and STREQUAL expressions. --- Source/cmGeneratorExpressionParser.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx index d3c4aa38b..344e9f832 100644 --- a/Source/cmGeneratorExpressionParser.cxx +++ b/Source/cmGeneratorExpressionParser.cxx @@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression( --this->NestingLevel; ++this->it; } - if (parameters.empty()) - { - // ERROR - } } if (nestedLevel != this->NestingLevel)