From: Zoltan Hidvegi <hzoli@frontiernet.net>
To: mason@primenet.com.au
Cc: zsh-workers@math.gatech.edu
Subject: Re: 3.0.4 bug: wrong character in hungetc()
Date: Tue, 29 Jul 1997 02:42:02 -0400 (EDT) [thread overview]
Message-ID: <199707290642.CAA02532@hzoli.home> (raw)
In-Reply-To: <slrn5tei1o.98v.mason@coral.primenet.com.au> from Geoff Wing at "Jul 24, 97 12:19:04 pm"
> Heyla,
> I might have missed this previously. Has this bug been dealt with?
>
> % while ( [[ $I bug 10 ]] ) ; do ; done
> zsh: condition expected: bug
> BUG: wrong character in hungetc()
> BUG: wrong character in hungetc()
> BUG: wrong character in hungetc()
Here is the fix.
Zoltan
*** Src/lex.c 1997/06/06 06:13:24 3.1.3.1
--- Src/lex.c 1997/07/29 06:38:21
***************
*** 175,180 ****
--- 175,183 ----
void
yylex(void)
{
+ if (errflag)
+ tok = LEXERR;
+
if (tok == LEXERR)
return;
do
next prev parent reply other threads:[~1997-07-29 6:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-24 12:19 Geoff Wing
1997-07-24 13:30 ` Andrej Borsenkow
1997-07-24 14:40 ` Geoff Wing
1997-07-29 6:42 ` Zoltan Hidvegi [this message]
1997-07-29 7:30 ` Zoltan Hidvegi
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=199707290642.CAA02532@hzoli.home \
--to=hzoli@frontiernet.net \
--cc=mason@primenet.com.au \
--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).