* Bugfix for hzoli10
@ 1995-07-21 19:31 Zoltan Hidvegi
0 siblings, 0 replies; only message in thread
From: Zoltan Hidvegi @ 1995-07-21 19:31 UTC (permalink / raw)
To: zsh-workers
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-07-21 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-07-21 19:31 Bugfix for hzoli10 Zoltan Hidvegi
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).