Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: trace information for sourced files
- X-seq: zsh-workers 25445
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: trace information for sourced files
- Date: Tue, 12 Aug 2008 21:27:37 +0100
- In-reply-to: <6cd6de210808121258n5bd7b65fr225ea73e4dbfc0c5@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <8933.1218570362@pws-pc> <6cd6de210808121258n5bd7b65fr225ea73e4dbfc0c5@xxxxxxxxxxxxxx>
On Tue, 12 Aug 2008 15:58:03 -0400
"Rocky Bernstein" <rocky.bernstein@xxxxxxxxx> wrote:
> > I'm not sure what to put in $funcsourcetrace since there is no separate
> > point of definition from that of the caller in this case.
>
> How about "source" or ".". Down the line one may want to record the
> number of parameters passed, and here I note that zsh allows passing
> parameters in a source command.
OK, I've committed it so that the funcsourcetrace element shows up as
"source:0".
I had a look at providing the text for debug traps but it wasn't as
trivial as I'd hoped so that may have to wait.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author