GenEx: It is not an error to specify an empty parameter

This is allowed by the CONFIG and STREQUAL expressions.
This commit is contained in:
Stephen Kelly authored and Brad King committed 2012-10-09 08:26:32 -04:00
1 parent 47e50423bf
commit 4801eb6333
1 file changed
-4
-4
View File
@@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
--this->NestingLevel;
++this->it;
}
if (parameters.empty())
{
// ERROR
}
}
if (nestedLevel != this->NestingLevel)