|
Boost-Build : |
Subject: Re: [Boost-build] [Boost-commit] svn:boost r75803 - trunk/tools/build/v2/util
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-12-04 11:01:50
AMDG
On 12/04/2011 07:43 AM, ghost_at_[hidden] wrote:
>
> Modified: trunk/tools/build/v2/util/doc.jam
> ==============================================================================
> --- trunk/tools/build/v2/util/doc.jam (original)
> +++ trunk/tools/build/v2/util/doc.jam 2011-12-04 10:43:05 EST (Sun, 04 Dec 2011)
> @@ -670,7 +670,7 @@
> while ! $(syntax) && ! [ MATCH "^[$(ws)]*(#)" : $(line) ] && $($(var))
> {
> local m = [ MATCH "^[$(ws)]*(.*)$" : $(line) ] ;
> - if $(m) && ! $(m) = ""
> + if $(m) && $(m) != ""
You do realize that this is equivalent to plain
if $(m)
because a list containing only empty strings
evaluates to false?
> {
> syntax = $(m) ;
> }
>
In Christ,
Steven Watanabe
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