mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +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
|
#define YYPURE 1
|
||||||
|
|
||||||
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
/* -*-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. */
|
/* This file comes from bison-1.28. */
|
||||||
|
|
||||||
/* Skeleton output parser for bison,
|
/* 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
|
It was written by Richard Stallman by simplifying the hairy parser
|
||||||
used when %semantic_parser is specified. */
|
used when %semantic_parser is specified. */
|
||||||
|
|
||||||
#ifndef YYPARSE_RETURN_TYPE
|
|
||||||
#define YYPARSE_RETURN_TYPE int
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef YYSTACK_USE_ALLOCA
|
#ifndef YYSTACK_USE_ALLOCA
|
||||||
#ifdef alloca
|
#ifdef alloca
|
||||||
#define YYSTACK_USE_ALLOCA
|
#define YYSTACK_USE_ALLOCA
|
||||||
@ -515,7 +510,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
|
|||||||
#endif
|
#endif
|
||||||
#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
|
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
||||||
into yyparse. The argument should have type void *.
|
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. */
|
/* Prevent warning if -Wstrict-prototypes. */
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#ifdef YYPARSE_PARAM
|
#ifdef YYPARSE_PARAM
|
||||||
YYPARSE_RETURN_TYPE
|
int yyparse (void *);
|
||||||
yyparse (void *);
|
|
||||||
#else
|
#else
|
||||||
YYPARSE_RETURN_TYPE
|
int yyparse (void);
|
||||||
yyparse (void);
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
YYPARSE_RETURN_TYPE
|
int
|
||||||
yyparse(YYPARSE_PARAM_ARG)
|
yyparse(YYPARSE_PARAM_ARG)
|
||||||
YYPARSE_PARAM_DECL
|
YYPARSE_PARAM_DECL
|
||||||
{
|
{
|
||||||
@ -575,9 +568,7 @@ yyparse(YYPARSE_PARAM_ARG)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
int yystacksize = YYINITDEPTH;
|
int yystacksize = YYINITDEPTH;
|
||||||
#ifndef YYSTACK_USE_ALLOCA
|
|
||||||
int yyfree_stacks = 0;
|
int yyfree_stacks = 0;
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef YYPURE
|
#ifdef YYPURE
|
||||||
int yychar;
|
int yychar;
|
||||||
@ -662,7 +653,6 @@ yynewstate:
|
|||||||
if (yystacksize >= YYMAXDEPTH)
|
if (yystacksize >= YYMAXDEPTH)
|
||||||
{
|
{
|
||||||
yyerror("parser stack overflow");
|
yyerror("parser stack overflow");
|
||||||
#ifndef YYSTACK_USE_ALLOCA
|
|
||||||
if (yyfree_stacks)
|
if (yyfree_stacks)
|
||||||
{
|
{
|
||||||
free (yyss);
|
free (yyss);
|
||||||
@ -671,7 +661,6 @@ yynewstate:
|
|||||||
free (yyls);
|
free (yyls);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
yystacksize *= 2;
|
yystacksize *= 2;
|
||||||
@ -926,7 +915,7 @@ case 12:
|
|||||||
break;}
|
break;}
|
||||||
}
|
}
|
||||||
/* the action file gets copied in in place of this dollarsign */
|
/* 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;
|
yyvsp -= yylen;
|
||||||
yyssp -= yylen;
|
yyssp -= yylen;
|
||||||
@ -1124,7 +1113,6 @@ yyerrhandle:
|
|||||||
|
|
||||||
yyacceptlab:
|
yyacceptlab:
|
||||||
/* YYACCEPT comes here. */
|
/* YYACCEPT comes here. */
|
||||||
#ifndef YYSTACK_USE_ALLOCA
|
|
||||||
if (yyfree_stacks)
|
if (yyfree_stacks)
|
||||||
{
|
{
|
||||||
free (yyss);
|
free (yyss);
|
||||||
@ -1133,12 +1121,10 @@ yyerrhandle:
|
|||||||
free (yyls);
|
free (yyls);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
yyabortlab:
|
yyabortlab:
|
||||||
/* YYABORT comes here. */
|
/* YYABORT comes here. */
|
||||||
#ifndef YYSTACK_USE_ALLOCA
|
|
||||||
if (yyfree_stacks)
|
if (yyfree_stacks)
|
||||||
{
|
{
|
||||||
free (yyss);
|
free (yyss);
|
||||||
@ -1147,7 +1133,6 @@ yyerrhandle:
|
|||||||
free (yyls);
|
free (yyls);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#line 226 "plural.y"
|
#line 226 "plural.y"
|
||||||
|
Loading…
Reference in New Issue
Block a user