Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-06-08 16:56:24


Author: jurko
Date: 2008-06-08 16:56:24 EDT (Sun, 08 Jun 2008)
New Revision: 46257
URL: http://svn.boost.org/trac/boost/changeset/46257

Log:
Renamed Boost.Build's internal assert.nonempty-variable() rule to assert.variable-non-empty().
Text files modified:
   trunk/tools/build/v2/build/feature.jam | 2 +-
   trunk/tools/build/v2/kernel/class.jam | 2 +-
   trunk/tools/build/v2/util/assert.jam | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/build/feature.jam
==============================================================================
--- trunk/tools/build/v2/build/feature.jam (original)
+++ trunk/tools/build/v2/build/feature.jam 2008-06-08 16:56:24 EDT (Sun, 08 Jun 2008)
@@ -957,7 +957,7 @@
         if ! $(p:G)
         {
             # Expecting fully-gristed properties.
- assert.nonempty-variable p:G ;
+ assert.variable-not-empty p:G ;
         }
 
         if ! subfeature in $($(p:G).attributes)

Modified: trunk/tools/build/v2/kernel/class.jam
==============================================================================
--- trunk/tools/build/v2/kernel/class.jam (original)
+++ trunk/tools/build/v2/kernel/class.jam 2008-06-08 16:56:24 EDT (Sun, 08 Jun 2008)
@@ -279,7 +279,7 @@
         rule invariant3 ( )
         {
             local v = 10 ;
- assert.nonempty-variable v ;
+ assert.variable-not-empty v ;
         }
     }
 # class derived1 : myclass ;

Modified: trunk/tools/build/v2/util/assert.jam
==============================================================================
--- trunk/tools/build/v2/util/assert.jam (original)
+++ trunk/tools/build/v2/util/assert.jam 2008-06-08 16:56:24 EDT (Sun, 08 Jun 2008)
@@ -231,7 +231,7 @@
 
 # Assert that the given variable is not an empty list.
 #
-rule nonempty-variable ( name )
+rule variable-not-empty ( name )
 {
     local value = [ modules.peek [ CALLER_MODULE ] : $(name) ] ;
     if ! $(value)-is-not-empty


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