|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49710 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2008-11-13 02:07:10
Author: vladimir_prus
Date: 2008-11-13 02:07:10 EST (Thu, 13 Nov 2008)
New Revision: 49710
URL: http://svn.boost.org/trac/boost/changeset/49710
Log:
Improve error message
Text files modified:
trunk/tools/build/v2/build/property.jam | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/tools/build/v2/build/property.jam
==============================================================================
--- trunk/tools/build/v2/build/property.jam (original)
+++ trunk/tools/build/v2/build/property.jam 2008-11-13 02:07:10 EST (Thu, 13 Nov 2008)
@@ -609,8 +609,8 @@
local best = [ sequence.select-highest-ranked $(matches)
: $(match-ranks) ] ;
if $(best[2])
- {
- errors.error "Ambiguous key" ;
+ {
+ errors.error "Ambiguous key" $(properties) ;
}
local original = $(self.value.$(best)) ;
if $(value)
@@ -736,7 +736,7 @@
try ;
$(pm).find <toolset>gcc <os>NT <os>CYGWIN ;
- catch "Ambiguous key" ;
+ catch "Ambiguous key <toolset>gcc <os>NT <os>CYGWIN" ;
# Test ordinary properties.
assert.result : split-conditional <toolset>gcc ;
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