From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10676 invoked by alias); 8 Aug 2011 08:34:23 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29656 Received: (qmail 20138 invoked from network); 8 Aug 2011 08:34:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Mon, 8 Aug 2011 09:34:06 +0100 From: Peter Stephenson To: Subject: Re: syntax error with anonymous functions when an argument begins with ( Message-ID: <20110808093406.6982bdc9@pwslap01u.europe.root.pri> In-Reply-To: References: <20110731141715.GA66652@stack.nl> <20110731193922.237278da@pws-pc.ntlworld.com> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.103.11.26] X-Scanned-By: MailControl A-12-01-02 (www.mailcontrol.com) on 10.71.0.138 On Mon, 8 Aug 2011 06:29:01 +0200 Mikael Magnusson 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 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