|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-16 12:12:26
On Tuesday 16 November 2004 20:03, Vladimir Prus wrote:
> The HdrRule does:
>
> set SEARCH on <exception> exception =
This is caused by a bug in subst-list:
rule subst-list ( list + : pattern ) {
local result ;
for local i in $(list) {
result += [ MATCH "($(pattern))" : $(i) ] ;
When pattern includes paranthethis, like in:
local angle-includes = [ subst-list $(>) : "<(.+)>" ] ;
The result is both full input and a match:
$ bjam -f-
ECHO [ MATCH (<(.*)>) : <exception> ] ;
<exception> exception
It's possible that I'm guilty of this, but fixing it won't fix the original
problem :-(
- Volodya
Boost-Build 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