This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/intl plural.y
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/intl plural.y
- From: drepper at sourceware dot cygnus dot com
- Date: 20 Mar 2001 00:57:53 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2001-03-19 16:57:52
Modified files:
intl : plural.y
Log message:
Don't include gettext.h.
(__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
[!_LIBC]: Define gettextparse__, gettext_free_exp__, not
__gettextparse, __gettext_free_exp.
Don't include stdarg.h.
(new_exp): Take an array of arguments instead of varargs.
(new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
('?' ':'): Make right-associative.
(EQUOP2): New token, replaces '=' and '!'.
(CMPOP2): New token.
(ADDOP2): New token, replaces '+' and '-'.
(MULOP2): New token, replaces '*', '/' and '%'.
('!'): New token.
(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
(start): Call YYABORT here.
(FREE_EXPRESSION): Update.
(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
Update for new token symbols.