From 6eecde7ae6ef5e39945054716e4d69e77378ff8d Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 21 Jul 2002 14:20:41 +0000 Subject: Update to gettext-0.11.2-3 intl contents. CVS patchset: 5564 CVS date: 2002/07/21 14:20:41 --- intl/plural.y | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'intl/plural.y') diff --git a/intl/plural.y b/intl/plural.y index be049a6d4..616b7c11a 100644 --- a/intl/plural.y +++ b/intl/plural.y @@ -30,25 +30,21 @@ # include #endif +#include #include -#include "gettextP.h" - -/* Names for the libintl functions are a problem. They must not clash - with existing names and they should follow ANSI C. But this source - code is also used in GNU C Library where the names have a __ - prefix. So we have to make a difference here. */ -#ifdef _LIBC -# define FREE_EXPRESSION __gettext_free_exp -#else -# define FREE_EXPRESSION gettext_free_exp__ -# define __gettextparse gettextparse__ +#include "plural-exp.h" + +/* The main function generated by the parser is called __gettextparse, + but we want it to be called PLURAL_PARSE. */ +#ifndef _LIBC +# define __gettextparse PLURAL_PARSE #endif #define YYLEX_PARAM &((struct parse_args *) arg)->cp #define YYPARSE_PARAM arg %} %pure_parser -%expect 10 +%expect 7 %union { unsigned long int num; -- cgit v1.2.3