From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27249 invoked by alias); 15 Apr 2015 16:13:43 -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: 34896 Received: (qmail 1015 invoked from network); 15 Apr 2015 16:13:40 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=Lv2CVk5TFfeV2ZOVKvVACymX5n3TQh30ftz1ALrhl2k=; b=Yoa8XYfWGcAZnMLdbgz9gW8Ew9Y4ESWqs5UjIj23unSidjKspdbXlny2F9k99MKWKe b5GFTZbWWZXZtlTZKnthQHpkfqjdwkgnnLPx4rMkLagHGHXMINwgnrENVfuJmQx3NzUI 1m5oFIJ3DJDvb2msoQdrEiTY/ZZfq/be/KdMo8KUCevQ0JyI9C30kqDgtvMz1rdHrsO1 rZJmKI13Je+6/XHhT5SogWHQJYlOGq0w9rRUyU2UPJxN00M1h1p1l27ZGPFuchVhK2ZI P4al3SUywIah1Ct7Pm2kPp21a6rtu7KzMygwWiIsW8QF5poYUDboq6PmEevJ7zXzuy87 TKGQ== X-Gm-Message-State: ALoCoQm1NwoamGydJ8TjHlEjyVHN25Uqixc8XxqS52kiu+XUN3B70Sxdz6ZaJKIAOxyQbKlPRRYD X-Received: by 10.182.241.197 with SMTP id wk5mr21818552obc.0.1429114419058; Wed, 15 Apr 2015 09:13:39 -0700 (PDT) From: Bart Schaefer Message-Id: <150415091335.ZM26318@torch.brasslantern.com> Date: Wed, 15 Apr 2015 09:13:35 -0700 In-Reply-To: <20150415163730.75f2e7ee@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: broken parsing with $((`:`))" (Apr 15, 4:37pm) References: <20150415030531.GA8187@vapier> <20150415100324.296ffa3e@pwslap01u.europe.root.pri> <150415081348.ZM26219@torch.brasslantern.com> <20150415163730.75f2e7ee@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: broken parsing with $((`:`)) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 15, 4:37pm, Peter Stephenson wrote: } Subject: Re: broken parsing with $((`:`)) } } > } + if (!*s || *s == Nularg) { } > } } - We look for Nularg in a string and skip over the character because } ditto (we could have made the math.c cases follow this form); 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].