2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

Disallow '=' in the values of non-free features.

[SVN r45604]
This commit is contained in:
Vladimir Prus
2008-05-21 12:18:08 +00:00
parent f910b39e26
commit 01eadb8719

View File

@@ -118,7 +118,15 @@ rule feature (
{
error = free features cannot be propagated ;
}
else
{
local m = [ MATCH (.*=.*) : $(values) ] ;
if $(m[1])
{
error = "feature value may not contain '='" ;
}
}
if $(error)
{
errors.error $(error)