From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id KAA17704 for ; Thu, 9 May 1996 10:42:10 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id UAA21587; Wed, 8 May 1996 20:34:41 -0400 (EDT) Resent-Date: Wed, 8 May 1996 20:34:41 -0400 (EDT) Message-Id: <199605090032.RAA27292@tenor.clari.net> To: Zoltan Hidvegi Cc: Zefram , zsh-workers@math.gatech.edu Subject: Re: Code cleanup in ZLE bindings In-reply-to: hzoli's message of Thu, 09 May 1996 00:55:16 +0200. <199605082255.AAA00392@hzoli.ppp.cs.elte.hu> Date: Wed, 08 May 1996 17:32:17 -0700 From: Wayne Davison Resent-Message-ID: <"Fjp4j3.0.DH5.WsJan"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1026 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zoltan Hidvegi writes: > I think enum is not supported by all compilers. There is no enum in the > original K&R C. How about extending ansi2knr to filter enums into a series of #defines? Or maybe putting an enum test into configure and filtering zsh.h into #defines if they aren't supported? That would allow the code to remain in an enum format (which makes for smaller patches if you keep the list in alphabetical order) and still support the non-enum folks. ..wayne..