mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 15:20:04 +00:00
/usr/bin/bison --yacc --name-prefix=__gettext --output plural.c plural.y
This commit is contained in:
parent
d2f6944a4e
commit
ee17edd4f0
@ -296,7 +296,7 @@ static const short yycheck[] = { 1,
|
||||
#define YYPURE 1
|
||||
|
||||
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
||||
#line 3 "/usr/share/bison.simple"
|
||||
#line 3 "/usr/lib/bison.simple"
|
||||
/* This file comes from bison-1.28. */
|
||||
|
||||
/* Skeleton output parser for bison,
|
||||
@ -327,11 +327,6 @@ static const short yycheck[] = { 1,
|
||||
It was written by Richard Stallman by simplifying the hairy parser
|
||||
used when %semantic_parser is specified. */
|
||||
|
||||
#ifndef YYPARSE_RETURN_TYPE
|
||||
#define YYPARSE_RETURN_TYPE int
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef YYSTACK_USE_ALLOCA
|
||||
#ifdef alloca
|
||||
#define YYSTACK_USE_ALLOCA
|
||||
@ -515,7 +510,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#line 222 "/usr/share/bison.simple"
|
||||
#line 217 "/usr/lib/bison.simple"
|
||||
|
||||
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
||||
into yyparse. The argument should have type void *.
|
||||
@ -539,15 +534,13 @@ __yy_memcpy (char *to, char *from, unsigned int count)
|
||||
/* Prevent warning if -Wstrict-prototypes. */
|
||||
#ifdef __GNUC__
|
||||
#ifdef YYPARSE_PARAM
|
||||
YYPARSE_RETURN_TYPE
|
||||
yyparse (void *);
|
||||
int yyparse (void *);
|
||||
#else
|
||||
YYPARSE_RETURN_TYPE
|
||||
yyparse (void);
|
||||
int yyparse (void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
YYPARSE_RETURN_TYPE
|
||||
int
|
||||
yyparse(YYPARSE_PARAM_ARG)
|
||||
YYPARSE_PARAM_DECL
|
||||
{
|
||||
@ -575,9 +568,7 @@ yyparse(YYPARSE_PARAM_ARG)
|
||||
#endif
|
||||
|
||||
int yystacksize = YYINITDEPTH;
|
||||
#ifndef YYSTACK_USE_ALLOCA
|
||||
int yyfree_stacks = 0;
|
||||
#endif
|
||||
|
||||
#ifdef YYPURE
|
||||
int yychar;
|
||||
@ -662,7 +653,6 @@ yynewstate:
|
||||
if (yystacksize >= YYMAXDEPTH)
|
||||
{
|
||||
yyerror("parser stack overflow");
|
||||
#ifndef YYSTACK_USE_ALLOCA
|
||||
if (yyfree_stacks)
|
||||
{
|
||||
free (yyss);
|
||||
@ -671,7 +661,6 @@ yynewstate:
|
||||
free (yyls);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
return 2;
|
||||
}
|
||||
yystacksize *= 2;
|
||||
@ -926,7 +915,7 @@ case 12:
|
||||
break;}
|
||||
}
|
||||
/* the action file gets copied in in place of this dollarsign */
|
||||
#line 554 "/usr/share/bison.simple"
|
||||
#line 543 "/usr/lib/bison.simple"
|
||||
|
||||
yyvsp -= yylen;
|
||||
yyssp -= yylen;
|
||||
@ -1124,7 +1113,6 @@ yyerrhandle:
|
||||
|
||||
yyacceptlab:
|
||||
/* YYACCEPT comes here. */
|
||||
#ifndef YYSTACK_USE_ALLOCA
|
||||
if (yyfree_stacks)
|
||||
{
|
||||
free (yyss);
|
||||
@ -1133,12 +1121,10 @@ yyerrhandle:
|
||||
free (yyls);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
yyabortlab:
|
||||
/* YYABORT comes here. */
|
||||
#ifndef YYSTACK_USE_ALLOCA
|
||||
if (yyfree_stacks)
|
||||
{
|
||||
free (yyss);
|
||||
@ -1147,7 +1133,6 @@ yyerrhandle:
|
||||
free (yyls);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
#line 226 "plural.y"
|
||||
|
Loading…
Reference in New Issue
Block a user