From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28949 invoked by alias); 15 Apr 2015 16:32:03 -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: 34898 Received: (qmail 20398 invoked from network); 15 Apr 2015 16:32:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7f106d0000013ec-de-552e91cf7d54 Date: Wed, 15 Apr 2015 17:31:55 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: broken parsing with $((`:`)) Message-id: <20150415173155.15853e01@pwslap01u.europe.root.pri> In-reply-to: <150415091335.ZM26318@torch.brasslantern.com> References: <20150415030531.GA8187@vapier> <20150415100324.296ffa3e@pwslap01u.europe.root.pri> <150415081348.ZM26219@torch.brasslantern.com> <20150415163730.75f2e7ee@pwslap01u.europe.root.pri> <150415091335.ZM26318@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre 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-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xa7rnJ+qFGpx4aGJxsPkhkwOjx6qD H5gCGKO4bFJSczLLUov07RK4Mp4cn8xW8Jy5YsGFx0wNjF+Zuhg5OSQETCS2/n8KZYtJXLi3 nq2LkYtDSGApo8TyqR3MEM4SJolDrT/AqoQEtgFlZkaD2CwCqhLTpt5mA7HZBAwlpm6azQhi iwiIS5xde54FxBYW0JR4duoBWJxXwF5i1Z73YHM4Bawk/qw6ygYx8xujxJaLvCA2v4C+xNW/ n6AuspeYeeUMVK+gxI/J98BmMgtoSWze1sQKYctLbF7zlhlijrrEjbu72ScwCs1C0jILScss JC0LGJlXMYqmliYXFCel5xrqFSfmFpfmpesl5+duYoQE7ZcdjIuPWR1iFOBgVOLh/ZCvEyrE mlhWXJl7iFGCg1lJhJezXi9UiDclsbIqtSg/vqg0J7X4ECMTB6dUA2NmsLfpxf2iZVc6+wqs /xsX3+m3jmdaGGKzmb+qYHK3x3Ou3CelnlrLhYom9501SuROEGf2emhouaA5v2Myf+ajGRo/ HILlUqv0Z2ktVviuy2GmlTPvqViGUOAf1pVHJjxxUrrIXcfh8OSYzqvQbTkvjlm9r2z0DxGY ydj3XZLNKeHT774AJZbijERDLeai4kQASBn+hDgCAAA= On Wed, 15 Apr 2015 09:13:35 -0700 Bart Schaefer wrote: > Hmm. > > Src/pattern.c:571: * Empty metafied strings have an initial Nularg. > > Maybe we NEED to have the math.c case follow this form. *s == Nularg > is not the same as !*s if there can be something non-null as s[1]. I think "empty" means there *is* nothing after the Nularg. But I may update math.c just to be like the other cases anyway; I won't bother posting. pws