From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-06 01:35:33
On Sunday 05 June 2005 02:23, Rene Rivera wrote:
> return values ;
> Within a rule body, the return statement sets the return value for
> an invocation of the rule. It does not cause the rule to return; a
> rule's value is actually the value of the last statement executed, so a
> return should be the last statement executed before the rule "naturally"
> Not sure about the discrepancy. It would be kind of strange for Perforce
> to change the semantics of something like "return".
They did change the semantic of "return". And I, personally, not going to port
that change over.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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