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:
parent
47e50423bf
commit
4801eb6333
|
@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
|
||||||
--this->NestingLevel;
|
--this->NestingLevel;
|
||||||
++this->it;
|
++this->it;
|
||||||
}
|
}
|
||||||
if (parameters.empty())
|
|
||||||
{
|
|
||||||
// ERROR
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nestedLevel != this->NestingLevel)
|
if (nestedLevel != this->NestingLevel)
|
||||||
|
|
Loading…
Reference in New Issue