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

Clarified comments (I hope)

[SVN r16460]
This commit is contained in:
Dave Abrahams
2002-11-30 00:37:39 +00:00
parent d8efd7fe47
commit 93622a347f
2 changed files with 18 additions and 4 deletions

View File

@@ -312,13 +312,20 @@ local rule validate-value-string ( feature value-string )
}
# Extends the given subfeature with the subvalues. If the optional
# value-string is provided, the subvalues are specific to the given
# value-string is provided, the subvalues are only valid for the given
# value of the feature. Thus, you could say that
# <target-platform>mingw is specifc to <toolset>gcc-2.95.2 as follows:
#
# extend-subfeature toolset gcc-2.95.2 : target-platform : mingw ;
#
rule extend-subfeature ( feature value-string ? : subfeature : subvalues * )
rule extend-subfeature (
feature # The feature whose subfeature is being extended
value-string ? # If supplied, specifies a specific value of the
# main feature for which the subfeature values are valid
: subfeature # The name of the subfeature
: subvalues * # The additional values of the subfeature being defined.
)
{
feature = [ grist $(feature) ] ;
validate-feature $(feature) ;

View File

@@ -312,13 +312,20 @@ local rule validate-value-string ( feature value-string )
}
# Extends the given subfeature with the subvalues. If the optional
# value-string is provided, the subvalues are specific to the given
# value-string is provided, the subvalues are only valid for the given
# value of the feature. Thus, you could say that
# <target-platform>mingw is specifc to <toolset>gcc-2.95.2 as follows:
#
# extend-subfeature toolset gcc-2.95.2 : target-platform : mingw ;
#
rule extend-subfeature ( feature value-string ? : subfeature : subvalues * )
rule extend-subfeature (
feature # The feature whose subfeature is being extended
value-string ? # If supplied, specifies a specific value of the
# main feature for which the subfeature values are valid
: subfeature # The name of the subfeature
: subvalues * # The additional values of the subfeature being defined.
)
{
feature = [ grist $(feature) ] ;
validate-feature $(feature) ;