Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Test Failures from latest CVS
- X-seq: zsh-workers 20319
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Test Failures from latest CVS
- Date: Sun, 05 Sep 2004 18:36:27 +0100
- In-reply-to: "Bart Schaefer"'s message of "Sat, 04 Sep 2004 09:38:26 PDT." <Pine.LNX.4.61.0409040927360.1742@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> The scriptname has to be changed before the string to be eval'd is parsed.
> Peter tried (or so I presume) to fix a long-standing bug that scriptname
> would not be restored properly on a parse error, by delaying the change
> rather than by explicitly restoring; but also neglected to restore ineval
> to its previous state in the same circumstance.
Thanks, that looks better.
> (Is there a reason not to
> assign lastval in that case also? It could simplify the code structure.)
I don't think there's a reason *not* to; it's just not necessary because
in any case on return from bin_eval it gets set to the 1 we just
returned.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author