From 55d7da0de13fa2c250acde7269e858c51a5eada5 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 5 Sep 2009 12:38:58 +0000 Subject: [PATCH] Fix feature.jam [SVN r56041] --- v2/build/feature.jam | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/v2/build/feature.jam b/v2/build/feature.jam index 2109b7383..ef49138d1 100644 --- a/v2/build/feature.jam +++ b/v2/build/feature.jam @@ -17,19 +17,21 @@ import assert : * ; local rule setup ( ) { .all-attributes = - implicit - composite - optional - symmetric - free - incidental - path - dependency - propagated - link-incompatible - subfeature - order-sensitive - ; + + implicit + executed + composite + optional + symmetric + free + incidental + path + dependency + propagated + link-incompatible + subfeature + order-sensitive + ; .all-features = ; .all-subfeatures = ; # non-subfeatures @@ -156,7 +158,6 @@ rule feature ( rule set-default ( feature : value ) { local f = [ grist $(feature) ] ; -<<<<<<< .working local a = $($(f).attributes) ; local bad-attribute = ; if free in $(a) @@ -172,9 +173,6 @@ rule set-default ( feature : value ) errors.error "$(bad-attribute) property $(f) cannot have a default." ; } if ! $(value) in $($(f).values) -======= - if ! $(value) in $($(f).values) ->>>>>>> .merge-right.r42493 { errors.error "The specified default value, '$(value)' is invalid" : "allowed values are: " $($(f).values) ;