Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.0.4 bug: wrong character in hungetc()
- X-seq: zsh-workers 3381
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxxxxxxx>
- To: mason@xxxxxxxxxxxxxxx
- Subject: Re: 3.0.4 bug: wrong character in hungetc()
- Date: Tue, 29 Jul 1997 02:42:02 -0400 (EDT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <slrn5tei1o.98v.mason@xxxxxxxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author