* another lexer bugfix
@ 1996-07-16 19:44 Zefram
0 siblings, 0 replies; only message in thread
From: Zefram @ 1996-07-16 19:44 UTC (permalink / raw)
To: Z Shell workers mailing list
-----BEGIN PGP SIGNED MESSAGE-----
Another one deep within the lexer: `a[1]=b` stopped working. The unusual
form `a\[1]=b` continued working, because \[ didn't register as a real
bracket.
-zefram
Index: Src/lex.c
===================================================================
RCS file: /home/zefram/usr/cvsroot/zsh/Src/lex.c,v
retrieving revision 1.8
diff -c -r1.8 lex.c
*** lex.c 1996/07/16 18:26:11 1.8
--- lex.c 1996/07/16 19:19:57
***************
*** 744,750 ****
intpos = 0;
continue;
case LX2_OUTBRACK:
! if (brct < 0) {
brct = 0;
break;
}
--- 744,750 ----
intpos = 0;
continue;
case LX2_OUTBRACK:
! if (--brct < 0) {
brct = 0;
break;
}
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMevsNXD/+HJTpU/hAQGe3gQAgvUWO6IJdmF/0hYxKhxk9I3abDd34LYO
gGDlgOY0jJE5GilDv25Wmq/9QL5mmyEopIeF8bRFeRI0E1i+fu8vacsMVrae7rFi
dcJHl6Gm7gXBsXbpVJbhtt8c2Fpmn0qHAdk4JAK2nLD6Iygt8HuszldCHoW0zrvR
jIB6oSYAPi0=
=LArN
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-07-16 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-16 19:44 another lexer bugfix Zefram
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).