mirror of
https://github.com/boostorg/build.git
synced 2026-02-21 02:52:12 +00:00
Fix a few oddly written returns. These only work because of the idiosyncracies of the Jam language.
[SVN r76058]
This commit is contained in:
@@ -936,7 +936,7 @@ rule common-properties ( build-request requirements )
|
||||
{
|
||||
$(key) = [ common-properties2 $(build-request) $(non-free) ] ;
|
||||
}
|
||||
result = [ $($(key)).add-raw $(free) ] ;
|
||||
return [ $($(key)).add-raw $(free) ] ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1178,7 +1178,7 @@ class python-test-generator : generator
|
||||
|
||||
property-set = [ $(property-set).add-raw <dependency>$(other-pythons) ] ;
|
||||
|
||||
result = [ construct-result $(python) $(extensions) $(new-sources) :
|
||||
return [ construct-result $(python) $(extensions) $(new-sources) :
|
||||
$(project) $(name) : $(property-set) ] ;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,7 +263,7 @@ class install-target-class : basic-target
|
||||
}
|
||||
}
|
||||
DELETE_MODULE $(result) ;
|
||||
result = [ sequence.unique $(result2) ] ;
|
||||
return [ sequence.unique $(result2) ] ;
|
||||
}
|
||||
|
||||
# Returns true iff 'type' is subtype of some element of 'types-to-include'.
|
||||
|
||||
Reference in New Issue
Block a user