Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Code cleanup in ZLE bindings



>I think enum is not supported by all compilers.  There is no enum in the
>original K&R C.  Please send this patch again leaving the #define's (or
>convince me that enum is supported by all C compilers on all Unix systems).

When I learned C, there was no ANSI standard, but there was most
definitely enum.  I remember using it in VAX C in about 1988 -- that
was basically K&R C plus void.  When I first read K&R, it was the first
edition, and enum was there.

-zefram




Messages sorted by: Reverse Date, Date, Thread, Author