Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 3.0.4 bug: wrong character in hungetc()



> 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