2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +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 a5598a1abf
commit 07129f81e4

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)