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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user