From bdb6a9e71cd27530b9ccdab0ffc677b62923e4ff Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 13 Sep 2002 01:50:09 +0000 Subject: [PATCH] Added commentary [SVN r15287] --- src/build/feature.jam | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/build/feature.jam b/src/build/feature.jam index 577ae91e4..22577e331 100644 --- a/src/build/feature.jam +++ b/src/build/feature.jam @@ -388,11 +388,17 @@ rule extend ( feature-or-property subfeature ? : values * ) } } -# subfeature -# -# subfeature toolset gcc-2.95.2 target-platform : aix linux mac cygwin -# -rule subfeature ( feature value-string ? : subfeature : subvalues * : attributes * ) +# Declares a subfeature +rule subfeature ( + feature # Root feature that is not a subfeature + value-string ? # A value-string specifying which feature or + # subfeature values this subfeature is specific to, + # if any + + : subfeature # The name of the subfeature being declared + : subvalues * # The allowed values of this subfeature + : attributes * # The attributes of the subfeature +) { feature = [ grist $(feature) ] ; validate-feature $(feature) ;