Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion with redirections
- X-seq: zsh-workers 5046
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: completion with redirections
- Date: Wed, 27 Jan 1999 09:13:41 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Tue, 26 Jan 1999 09:56:47 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
>
> On Jan 25, 3:01pm, Peter Stephenson wrote:
> } Subject: Re: PATCH: completion with redirections
> }
> } Sven Wischnowsky wrote:
> } > There is a problem: this array contains ")" instead of '>',
> }
> } I can't see how it can possibly be right as it stands, looking at
> } what's around it.
>
> This typo, if that's what it is, has been around for a long time; it'
> that way in globals.h in 3.0.5. Where has tokstrings (not) been used
> all this time, that no one ever noticed?
That's why I was reluctant to change it without asking first.
The only place where tokstrings was used is in exalias() if that is
called with tokstring=NULL after spell-checking, which happens
whenever a redirection operator is parsed. The value from the table
will be used if someone calls yylex(), gets the token for a
redirection operator and uses tokstr before calling yylex()
again. After searching a bit I still can't find a place where this
happens.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author