Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: reserved words and aliases
- X-seq: zsh-workers 44
- From: P.Stephenson@xxxxxxxxxxxxx
- To: Richard Coleman <coleman@xxxxxxxxxxxxxxx>
- Subject: Re: reserved words and aliases
- Date: Fri, 26 May 95 10:44:11 +0100
- Cc: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- In-reply-to: "coleman@xxxxxxxxxxxxxxx"'s message of "Fri, 26 May 95 00:42:27 EDT." <9505260442.AA02643@xxxxxxxxxxxxxxxxxxxxxxxxx>
coleman@xxxxxxxxxxxxxxx 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 <P.Stephenson@xxxxxxxxxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author