From 96a2f00434c2e3cb8d7741096f16cac8a480929c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 21 Nov 2002 09:36:25 +0000 Subject: [PATCH] *** empty log message *** --- lib/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index 70022842dc..cefdbd62d9 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -2,6 +2,26 @@ * README: Update from gnulib. +2002-11-20 Paul Eggert + + Merge argmatch cleanups from Bison. Assume C89. + + * argmatch.c: Include config.h here, not in argmatch.h. + Include stdlib.h, for EXIT_FAILURE. + Always include , since we assume C89. + (EXIT_FAILURE): Remove pre-C89 bug workaround. + * argmatch.h: Do not include or . + Include instead, since it's all we need for size_t. + (PARAMS): Remove. All uses removed. + (ARRAY_CARDINALITY): Do not bother to #undef. + (ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg, + ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH): + Remove unnecessary parentheses. + (ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH): + Insert necessary parentheses. + (ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros. + (ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT. + 2002-11-19 Jim Meyering Be careful not to clobber errno. -- 2.47.2