Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: closures: #3
- X-seq: zsh-workers 3518
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: closures: #3
- Date: Wed, 24 Sep 1997 16:01:17 +0200
- In-reply-to: "Bruce Stephens"'s message of "Wed, 24 Sep 1997 14:45:56 MET." <199709241347.JAA28024@xxxxxxxxxxxxxxx>
Bruce Stephens wrote:
> pws@xxxxxx said:
> > if (*pptr == Star && pptr[1] && ! (unset(EXTENDEDGLOB) ||
> > !(gflag & GF_TOPLEV) || ! pptr[1] != Tilde || !pptr[2] ||
> > pptr[2] == Bar ||
>
> Where did gflag and GF_TOPLEV come from? I think the patch is
> missing a file or two
They were in a previous patch from me, which fixed the bug that a ~ in
a top-level pattern prevented the pattern before it from being marked
as the last portion of a match. I think the patch is in some recent
versions (certainly seems to be in 3.0.4), but I couldn't tell you
since when. Without that, just omit this hunk: all that will happen
is that the (*~foo)bar bug won't be fixed, since it relies on the
GF_TOPLEV mechanism.
--
Peter Stephenson <pws@xxxxxx> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author