Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bugfix for hzoli10
- X-seq: zsh-workers 251
- From: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- To: zsh-workers@xxxxxxxxxxxxxxx (zsh-workers)
- Subject: Bugfix for hzoli10
- Date: Fri, 21 Jul 1995 20:31:17 +0100 (MET DST)
The bug:
% foo=(a b c)
% echo $foo[$$]
zsh: oops. In parsestr
The fix is here.
Zoltan
--- 1.13 1995/07/06 12:28:04
+++ Src/lex.c 1995/07/19 23:26:32
@@ -969,8 +969,11 @@
add(Qstring);
c = Inbrace;
bct++;
- } else {
+ } else if (c == '$')
+ add(Qstring);
+ else {
hungetc(c);
+ lexstop = 0;
c = Qstring;
}
break;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author