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

Re: syntax error with anonymous functions when an argument begins with (



On Mon, 8 Aug 2011 06:29:01 +0200
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> I actually had an anonymous function followed by 'done' in my .zshrc,
> but when I tested the new zsh version there was no error since the
> file was compiled. When I edited my .zshrc a week later though, zsh
> reported errors on startup, which took me a couple of minutes to
> figure out :). Is there a good reason to not stick on the
> $ZSH_PATCHLEVEL on the version stored in .zwc files, assuming it's
> stored as a string?

What's supposed to happen is the version number of the wordcode gets
incremented, but I always forget.  I suspect that having to recompile on
everything committed to the archive would be too much, but as I don't
rely on compiled files I'm really just guessing.

-- 
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