Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: \" in $(( )) vs $[ ]



On Thu, 15 Sep 2011 13:56:57 +0100
Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> Rethink... the following fits better with the existing logic.
> 
> I wonder if that parenthesised group I've patched shouldn't say
>   endchar != '"'
> ?  That looks neater and seems to pass the tests.

The only difference appears to be that the change would additionally
catch the case of a double quote within one of the first two parts of an
arithmetic for, consistent with the last part (as that's terminated by a
closing parenthesis).  So I'll commit that.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog



Messages sorted by: Reverse Date, Date, Thread, Author