|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64362 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2010-07-26 08:41:37
Author: vladimir_prus
Date: 2010-07-26 08:41:34 EDT (Mon, 26 Jul 2010)
New Revision: 64362
URL: http://svn.boost.org/trac/boost/changeset/64362
Log:
Robustify feature.is_implicit_value.
Text files modified:
trunk/tools/build/v2/build/feature.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/build/feature.py
==============================================================================
--- trunk/tools/build/v2/build/feature.py (original)
+++ trunk/tools/build/v2/build/feature.py 2010-07-26 08:41:34 EDT (Mon, 26 Jul 2010)
@@ -246,6 +246,10 @@
""" Returns true iff 'value_string' is a value_string
of an implicit feature.
"""
+
+ if __implicit_features.has_key(value_string):
+ return __implicit_features[value_string]
+
v = value_string.split('-')
if not __implicit_features.has_key(v[0]):
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