zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: zsh-workers@sunsite.dk
Subject: Re: [stew@vireo.org: Bug#295511: patch]
Date: Wed, 2 Mar 2005 11:17:31 -0800	[thread overview]
Message-ID: <20050302191731.GD21435@blorf.net> (raw)
In-Reply-To: <20050302185147.GC21435@blorf.net>

On Wed, Mar 02, 2005 at 10:51:47AM -0800, Wayne Davison wrote:
> So, I think it would be good to work up a patch that would cause the
> _make script to avoid trying to expand (or set) numeric arg variables

The fix to avoid expanding something like $1 was trivial, so I checked
it in to both the trunk and the patches branch:

--- Completion/Unix/Command/_make	11 Nov 2004 19:05:25 -0000	1.14
+++ Completion/Unix/Command/_make	2 Mar 2005 19:06:23 -0000	1.15
@@ -17,7 +17,7 @@ expandVars() {
 		open='{'
 		close='}'
 		;;
-	    ([[:alnum:]]*)
+	    ([[:alpha:]]*)
 		open=''
 		close=''
 		var=${(s::)var[1]}

This change avoids the infinite recursion cited in Debug bug #295511.

..wayne..


  reply	other threads:[~2005-03-02 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02  5:28 Clint Adams
2005-03-02 18:51 ` Wayne Davison
2005-03-02 19:17   ` Wayne Davison [this message]
2005-03-02 20:25   ` Clint Adams

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=20050302191731.GD21435@blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=zsh-workers@sunsite.dk \
    /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).