From mboxrd@z Thu Jan 1 00:00:00 1970 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes Date: Wed, 27 Jan 1999 09:13:41 +0100 (MET) Message-Id: <199901270813.JAA28433@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Tue, 26 Jan 1999 09:56:47 -0800 Subject: Re: PATCH: completion with redirections X-Mailing-List: 5046 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@informatik.hu-berlin.de