Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: syntax error with anonymous functions when an argument begins with (
- X-seq: zsh-workers 29656
- From: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- To: <zsh-workers@xxxxxxx>
- Subject: Re: syntax error with anonymous functions when an argument begins with (
- Date: Mon, 8 Aug 2011 09:34:06 +0100
- In-reply-to: <CAHYJk3QZctuWoVb=0DNRDm+jeQWkOesdrSuUOK2EOPSCUkSLdQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <20110731141715.GA66652@stack.nl> <20110731193922.237278da@pws-pc.ntlworld.com> <CAHYJk3QZctuWoVb=0DNRDm+jeQWkOesdrSuUOK2EOPSCUkSLdQ@mail.gmail.com>
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