From b84699b2d15df90db2ef5685f37dc4bd5faa21b2 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] --- new/feature.jam | 16 +++++++++++----- v2/build/feature.jam | 16 +++++++++++----- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/new/feature.jam b/new/feature.jam index 577ae91e4..22577e331 100644 --- a/new/feature.jam +++ b/new/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) ; diff --git a/v2/build/feature.jam b/v2/build/feature.jam index 577ae91e4..22577e331 100644 --- a/v2/build/feature.jam +++ b/v2/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) ;