zsh-workers
 help / color / mirror / code / Atom feed
From: hzoli@cs.elte.hu (Zoltan Hidvegi)
To: zsh-workers@math.gatech.edu (zsh-workers)
Subject: Bugfix for hzoli10
Date: Fri, 21 Jul 1995 20:31:17 +0100 (MET DST)	[thread overview]
Message-ID: <9507211831.AA09153@turan.elte.hu> (raw)

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;


                 reply	other threads:[~1995-07-21 18:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9507211831.AA09153@turan.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).