From 61402fd68972a73caa984ab03199bf05e18b73e5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 Jan 2001 05:52:11 +0000 Subject: Update. 2000-07-31 Bruno Haible * intl/plural.y: Include config.h. Needed to define 'inline' away for C compilers that don't support it. (yylex): Don't use gcc specific case range syntax. * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old compilers. 2000-10-12 Bruno Haible * intl/finddomain.c: Remove unneeded includes. 2000-10-12 Bruno Haible * intl/localealias.c (memcpy): Return first argument, just like the real memcpy function does. * intl/bindtextdom.c (memcpy): Likewise. * intl/finddomain.c (memcpy): Likewise. * intl/l10nflist.c (memcpy): Likewise. * intl/textdomain.c (memcpy): Likewise. From Paul Eggert . --- intl/plural.y | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'intl/plural.y') diff --git a/intl/plural.y b/intl/plural.y index c13dbaf..32ad751 100644 --- a/intl/plural.y +++ b/intl/plural.y @@ -18,6 +18,10 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include "gettext.h" @@ -228,7 +232,8 @@ yylex (YYSTYPE *lval, const char **pexp) result = *exp++; switch (result) { - case '0' ... '9': + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': { unsigned long int n = exp[-1] - '0'; while (exp[0] >= '0' && exp[0] <= '9') -- cgit v1.1