From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id TAA17269 for ; Fri, 26 May 1995 19:49:46 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA25661 (5.65c/Gatech-10.0-IDA for ); Fri, 26 May 1995 05:48:35 -0400 Received: by math (5.x/SMI-SVR4) id AA02870; Fri, 26 May 1995 05:45:27 -0400 Resent-Date: Fri, 26 May 95 10:44:11 +0100 Old-Return-Path: Message-Id: <2566.9505260944@pyro.swan.ac.uk> To: Richard Coleman Cc: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: reserved words and aliases In-Reply-To: "coleman@math.gatech.edu"'s message of "Fri, 26 May 95 00:42:27 EDT." <9505260442.AA02643@redwood.skiles.gatech.edu> Date: Fri, 26 May 95 10:44:11 +0100 From: P.Stephenson@swansea.ac.uk X-Mts: smtp Resent-Message-Id: <"Cj3PH2.0.ii.sCQnl"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/44 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu coleman@math.gatech.edu wrote: > In your patch to split reserved words and aliases, > you are missing the piece of the patch for zsh.h. Your > patch doesn't define "struct reswd" which is a slight > problem of course :-) oops --- yes, reswd is a reduced `struct alias' with just the token number remaining. *** Src/zsh.h~ Fri May 19 10:10:18 1995 --- Src/zsh.h Thu May 25 12:13:29 1995 *************** *** 645,650 **** --- 645,658 ---- int inuse; /* alias is being expanded */ }; + /* node in shell reserved word list */ + + struct reswd { + struct hashnode *next; + char *nam; /* name of reserved word */ + int cmd; /* corresponding token */ + }; + /* node in sched list */ struct schedcmd { -- Peter Stephenson Tel: +44 1792 205678 extn. 4461 WWW: http://python.swan.ac.uk/~pypeters/ Fax: +44 1792 295324 Department of Physics, University of Wales, Swansea, Singleton Park, Swansea, SA2 8PP, U.K.