zsh-workers
 help / color / mirror / code / Atom feed
From: P.Stephenson@swansea.ac.uk
To: Richard Coleman <coleman@math.gatech.edu>
Cc: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: reserved words and aliases
Date: Fri, 26 May 95 10:44:11 +0100	[thread overview]
Message-ID: <2566.9505260944@pyro.swan.ac.uk> (raw)
In-Reply-To: "coleman@math.gatech.edu"'s message of "Fri, 26 May 95 00:42:27 EDT." <9505260442.AA02643@redwood.skiles.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 <P.Stephenson@swansea.ac.uk>  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.


       reply	other threads:[~1995-05-26  9:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9505260442.AA02643@redwood.skiles.gatech.edu>
1995-05-26  9:44 ` P.Stephenson [this message]
1995-05-25 13:05 Reserved " P.Stephenson
1995-05-25 23:58 ` Richard Coleman
     [not found]   ` <coleman@math.gatech.edu>
1995-05-26  0:49     ` Barton E. Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2566.9505260944@pyro.swan.ac.uk \
    --to=p.stephenson@swansea.ac.uk \
    --cc=coleman@math.gatech.edu \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).