|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-05-12 14:35:56
Author: jurko
Date: 2008-05-12 14:35:56 EDT (Mon, 12 May 2008)
New Revision: 45305
URL: http://svn.boost.org/trac/boost/changeset/45305
Log:
Minor stylistic changes.
Text files modified:
trunk/tools/build/v2/kernel/modules.jam | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/kernel/modules.jam
==============================================================================
--- trunk/tools/build/v2/kernel/modules.jam (original)
+++ trunk/tools/build/v2/kernel/modules.jam 2008-05-12 14:35:56 EDT (Mon, 12 May 2008)
@@ -19,6 +19,7 @@
# Meant to be invoked from import when no __test__ rule is defined in the given
# module.
+#
local rule no-test-defined
{
import modules ;
@@ -30,6 +31,7 @@
# Return the binding of the given module.
+#
rule binding ( module )
{
return $($(module).__binding__) ;
@@ -39,6 +41,7 @@
# Sets the module-local value of a variable. This is the most reliable way to
# set a module-local variable in a different module; it eliminates issues of
# name shadowing due to dynamic scoping.
+#
rule poke ( module-name ? : variables + : value * )
{
module $(<)
@@ -51,6 +54,7 @@
# Returns the module-local value of a variable. This is the most reliable way to
# examine a module-local variable in a different module; it eliminates issues of
# name shadowing due to dynamic scoping.
+#
rule peek ( module-name ? : variables + )
{
module $(<)
@@ -93,6 +97,7 @@
# Load the indicated module if it is not already loaded.
+#
rule load (
module-name # Name of module to load. Rules will be defined in this
# module.
@@ -199,6 +204,7 @@
# This helper is used by load (above) to record the binding (path) of each
# loaded module.
+#
rule record-binding ( module-target : binding )
{
$(.loading[-1]).__binding__ = $(binding) ;
@@ -209,6 +215,7 @@
# slashes and all detectable redundancy removed. Something like this is probably
# needed in path.jam, but I'm not sure of that, I don't understand it, and I'm
# not ready to move all of path.jam into the kernel.
+#
local rule normalize-raw-paths ( paths * )
{
local result ;
@@ -230,6 +237,7 @@
# If rules-opt = '*', all rules from the indicated module are imported into the
# caller's module. If rename-opt is supplied, it must have the same number of
# elements as rules-opt.
+#
rule import ( module-names + : rules-opt * : rename-opt * )
{
if ( $(rules-opt) = * || ! $(rules-opt) ) && $(rename-opt)
@@ -294,10 +302,12 @@
}
}
+
# Define exported copies in $(target-module) of all rules exported from
# $(source-module). Also make them available in the global module with
# qualification, so that it is just as though the rules were defined originally
# in $(target-module).
+#
rule clone-rules ( source-module target-module )
{
local rules = [ RULENAMES $(source-module) ] ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk