bison-patches
[Top][All Lists]
Advanced

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

Re: patches to remove K&R vestiges in Bison


From: Akim Demaille
Subject: Re: patches to remove K&R vestiges in Bison
Date: 21 Oct 2002 09:43:03 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| Since we don't support building Bison with K&R C any more, I installed
| the following patches to remove vestigial code.
| 
| 2002-10-20  Paul Eggert  <address@hidden>
| 
|       Remove K&R vestiges.
|       * configure.ac (AC_C_CONST, AM_C_PROTOTYPES): Remove.
|       * src/complain.c (VA_START): Remove.  Assume prototypes.
|       (vfprintf) [! (HAVE_VPRINTF || defined vfprintf)]: New macro.
|       (private_strerror, warn_at, warn, complain_at, complain, fatal_at,
|       fatal): Assume prototypes.
|       * src/complain.h: Assume prototypes.
|       * src/system.h (PARAMS): Remove.
|       Include <limits.h> unconditionally, since it's guaranteeed even
|       for a freestanding C89 compiler.
|       (SHRT_MIN, SHRT_MAX): Remove, since C89 guarantees them.
|       * src/vmsgetargs.c (getargs, cli_present, cli_get_value): Prototype.

Wow, everything is so much cuter this way :)  Maybe we should have
configure die if the compiler is not ANSI.




reply via email to

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