2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Reenable ability of generators to return property-set as first item in result list

- Fixes issue introduced in ee613a6a28 (feature relevance)
This commit is contained in:
Andrew McCann
2018-05-22 16:20:01 -07:00
parent 65368dfa75
commit c6fdd41d4d

View File

@@ -475,7 +475,13 @@ class generator
}
if $(result)
{
return $(relevant) $(result) ;
if [ class.is-a $(result[1]) : property-set ]
{
return [ $(result[1]).add $(relevant) ] $(result[2-]) ;
}
else {
return $(relevant) $(result) ;
}
}
}