From: pws@ifh.de (Peter William Stephenson)
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: unpleasant substitution bug
Date: Tue, 7 Nov 1995 15:54:59 +0100 (MET) [thread overview]
Message-ID: <9511071455.AA00926@sgi.ifh.de> (raw)
I can't believe this bug's still there. The proper answer is probably
to upgrade to Zoltan's substitution code as soon as possible. Until
then, it's bad enough to need fixing anyway.
% unset EMACS
% print ${EMACS:-}
}
uurgh.
*** Src/subst.c~ Tue Nov 7 04:43:21 1995
--- Src/subst.c Tue Nov 7 15:47:00 1995
***************
*** 903,913 ****
if (!(flags & 0xf8))
flags |= 16;
! for (bct = 1; bct && *++s;) {
if (*s == '{' || *s == Inbrace)
bct++;
else if (*s == '}' || *s == Outbrace)
! bct--;
}
if (*s)
--- 903,914 ----
if (!(flags & 0xf8))
flags |= 16;
! for (bct = 1; *s; s++) {
if (*s == '{' || *s == Inbrace)
bct++;
else if (*s == '}' || *s == Outbrace)
! if (!--bct)
! break;
}
if (*s)
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
reply other threads:[~1995-11-07 15:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9511071455.AA00926@sgi.ifh.de \
--to=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).