lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx2.8.2dev.18


From: dickey
Subject: Re: lynx-dev lynx2.8.2dev.18
Date: Thu, 4 Mar 1999 21:56:13 -0500 (EST)

> >Bummer.  It's a comma between the enumerator-list and the "}". 
> >ANSI seems not to allow this.  Sure makes ending an enumerator-list 
> >inside an ifdef a pain.  Since the list unconditionally begins with 
> >LYK_UNKNOWN, the problem could be solved by writing all subsequent 
> >entries with the comma in front of the enumerator.  Ugly.  But should 
> >I try a patch? 
>  
> Another method that I've used is to put something like UNUSED just before the 
> }. 
> This requires the least amount of changes, and also doesn't break if the 
> *first* item in the list gets #ifdef'ed out, or if the list gets sorted. 

in this particular instance, the *first* item will never (I hope ;-)
be ifdef'd out, since it is the special value '0', which is used
literally in a lot of places in the keymap tables.
  
> Greg Marr 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]