|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-01-26 11:42:55
Vladimir Prus <ghost_at_[hidden]> writes:
> Hi,
> all most of you know, Jam is sensitive to spaces. A typical first user's error
> is:
>
> exe a : a.cpp;
>
> The attached patch attempts to fix that. Now, whenever bjam sees ';' outside
> of quited string, it terminates the current token.
>
> It would be good to handle other symbols ( '[', ']', ':' ) in the similar way,
> but unfortunately, they can appear inside variable accesses, for example:
>
> gFILES($(targets[1])) = fff ;
>
> During scanning, it's not easy to find if we're inside variable access or
> not, so those symbols can't be safely handled.
>
> Opinions? Should I commit this?
Bad timing, IMO. We should consider syntactic innovations as part of
the Python port.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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