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 2012-10-04 00:33:21 +02:00 committed by Brad King
parent 47e50423bf
commit 4801eb6333
1 changed files with 0 additions and 4 deletions

View File

@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
--this->NestingLevel;
++this->it;
}
if (parameters.empty())
{
// ERROR
}
}
if (nestedLevel != this->NestingLevel)