236 |
char *string; |
char *string; |
237 |
assoc_t assoc; |
assoc_t assoc; |
238 |
} yystype; |
} yystype; |
239 |
/* Line 193 of /usr/local/share/bison/yacc.c. */ |
/* Line 203 of /tmp/prefix/share/bison/yacc.c. */ |
240 |
#line 241 "parse-gram.c" |
#line 241 "parse-gram.c" |
241 |
# define YYSTYPE yystype |
# define YYSTYPE yystype |
242 |
# define YYSTYPE_IS_TRIVIAL 1 |
# define YYSTYPE_IS_TRIVIAL 1 |
257 |
/* Copy the second part of user declarations. */ |
/* Copy the second part of user declarations. */ |
258 |
|
|
259 |
|
|
260 |
/* Line 213 of /usr/local/share/bison/yacc.c. */ |
/* Line 223 of /tmp/prefix/share/bison/yacc.c. */ |
261 |
#line 262 "parse-gram.c" |
#line 262 "parse-gram.c" |
262 |
|
|
263 |
#if ! defined (yyoverflow) || YYERROR_VERBOSE |
#if ! defined (yyoverflow) || YYERROR_VERBOSE |
357 |
|
|
358 |
/* YYFINAL -- State number of the termination state. */ |
/* YYFINAL -- State number of the termination state. */ |
359 |
#define YYFINAL 3 |
#define YYFINAL 3 |
360 |
|
/* YYLAST -- Last index in YYTABLE. */ |
361 |
#define YYLAST 152 |
#define YYLAST 152 |
362 |
|
|
363 |
/* YYNTOKENS -- Number of terminals. */ |
/* YYNTOKENS -- Number of terminals. */ |
715 |
/* YYLEX -- calling `yylex' with the right arguments. */ |
/* YYLEX -- calling `yylex' with the right arguments. */ |
716 |
|
|
717 |
#ifdef YYLEX_PARAM |
#ifdef YYLEX_PARAM |
718 |
# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) |
# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) |
719 |
#else |
#else |
720 |
# define YYLEX yylex (&yylval, &yylloc) |
# define YYLEX yylex (&yylval, &yylloc) |
721 |
#endif |
#endif |
722 |
|
|
723 |
/* Enable debugging if requested. */ |
/* Enable debugging if requested. */ |
828 |
| Print this symbol on YYOUT. | |
| Print this symbol on YYOUT. | |
829 |
`-----------------------------*/ |
`-----------------------------*/ |
830 |
|
|
|
static void |
|
831 |
#if defined (__STDC__) || defined (__cplusplus) |
#if defined (__STDC__) || defined (__cplusplus) |
832 |
yysymprint (FILE* yyout, int yytype, YYSTYPE yyvalue, YYLTYPE yylocation) |
static void |
833 |
|
yysymprint (FILE *yyout, int yytype, YYSTYPE yyvalue, YYLTYPE yylocation) |
834 |
#else |
#else |
835 |
|
static void |
836 |
yysymprint (yyout, yytype, yyvalue, yylocation) |
yysymprint (yyout, yytype, yyvalue, yylocation) |
837 |
FILE* yyout; |
FILE *yyout; |
838 |
int yytype; |
int yytype; |
839 |
YYSTYPE yyvalue; |
YYSTYPE yyvalue; |
840 |
YYLTYPE yylocation; |
YYLTYPE yylocation; |
868 |
| Release the memory associated to this symbol. | |
| Release the memory associated to this symbol. | |
869 |
`-----------------------------------------------*/ |
`-----------------------------------------------*/ |
870 |
|
|
|
static void |
|
871 |
#if defined (__STDC__) || defined (__cplusplus) |
#if defined (__STDC__) || defined (__cplusplus) |
872 |
|
static void |
873 |
yydestruct (int yytype, YYSTYPE yyvalue, YYLTYPE yylocation) |
yydestruct (int yytype, YYSTYPE yyvalue, YYLTYPE yylocation) |
874 |
#else |
#else |
875 |
|
static void |
876 |
yydestruct (yytype, yyvalue, yylocation) |
yydestruct (yytype, yyvalue, yylocation) |
877 |
int yytype; |
int yytype; |
878 |
YYSTYPE yyvalue; |
YYSTYPE yyvalue; |
892 |
|
|
893 |
|
|
894 |
|
|
895 |
/* The user can define YYPARSE_PARAM as the name of an argument to be passed |
/* Prevent warnings from -Wmissing-prototypes. */ |
|
into yyparse. The argument should have type void *. |
|
|
It should actually point to an object. |
|
|
Grammar actions can access the variable by casting it |
|
|
to the proper pointer type. */ |
|
896 |
|
|
897 |
#ifdef YYPARSE_PARAM |
#ifdef YYPARSE_PARAM |
898 |
# if defined (__STDC__) || defined (__cplusplus) |
# if defined (__STDC__) || defined (__cplusplus) |
899 |
# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM |
int yyparse (void *YYPARSE_PARAM); |
|
# define YYPARSE_PARAM_DECL |
|
900 |
# else |
# else |
901 |
# define YYPARSE_PARAM_ARG YYPARSE_PARAM |
int yyparse (); |
|
# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; |
|
902 |
# endif |
# endif |
903 |
#else /* !YYPARSE_PARAM */ |
#else /* ! YYPARSE_PARAM */ |
904 |
# define YYPARSE_PARAM_ARG |
#if defined (__STDC__) || defined (__cplusplus) |
|
# define YYPARSE_PARAM_DECL |
|
|
#endif /* !YYPARSE_PARAM */ |
|
|
|
|
|
/* Prevent warning if -Wstrict-prototypes. */ |
|
|
#ifdef __GNUC__ |
|
|
# ifdef YYPARSE_PARAM |
|
|
int yyparse (void *); |
|
|
# else |
|
905 |
int yyparse (void); |
int yyparse (void); |
906 |
# endif |
#else |
907 |
|
int yyparse (); |
908 |
|
#endif |
909 |
#endif |
#endif |
910 |
|
|
911 |
|
|
912 |
|
|
913 |
|
|
914 |
|
|
915 |
|
|
916 |
|
/*----------. |
917 |
|
| yyparse. | |
918 |
|
`----------*/ |
919 |
|
|
920 |
|
#ifdef YYPARSE_PARAM |
921 |
|
# if defined (__STDC__) || defined (__cplusplus) |
922 |
|
int yyparse (void *YYPARSE_PARAM) |
923 |
|
# else |
924 |
|
int yyparse (YYPARSE_PARAM) |
925 |
|
void *YYPARSE_PARAM; |
926 |
|
# endif |
927 |
|
#else /* ! YYPARSE_PARAM */ |
928 |
|
#if defined (__STDC__) || defined (__cplusplus) |
929 |
|
int |
930 |
|
yyparse (void) |
931 |
|
#else |
932 |
int |
int |
933 |
yyparse (YYPARSE_PARAM_ARG) |
yyparse () |
934 |
YYPARSE_PARAM_DECL |
|
935 |
|
#endif |
936 |
|
#endif |
937 |
{ |
{ |
938 |
/* The lookahead symbol. */ |
/* The lookahead symbol. */ |
939 |
int yychar; |
int yychar; |
1019 |
yysetstate: |
yysetstate: |
1020 |
*yyssp = yystate; |
*yyssp = yystate; |
1021 |
|
|
1022 |
if (yyssp >= yyss + yystacksize - 1) |
if (yyss + yystacksize - 1 <= yyssp) |
1023 |
{ |
{ |
1024 |
/* Get the current used size of the three stacks, in elements. */ |
/* Get the current used size of the three stacks, in elements. */ |
1025 |
YYSIZE_T yysize = yyssp - yyss + 1; |
YYSIZE_T yysize = yyssp - yyss + 1; |
1051 |
goto yyoverflowlab; |
goto yyoverflowlab; |
1052 |
# else |
# else |
1053 |
/* Extend the stack our own way. */ |
/* Extend the stack our own way. */ |
1054 |
if (yystacksize >= YYMAXDEPTH) |
if (YYMAXDEPTH <= yystacksize) |
1055 |
goto yyoverflowlab; |
goto yyoverflowlab; |
1056 |
yystacksize *= 2; |
yystacksize *= 2; |
1057 |
if (yystacksize > YYMAXDEPTH) |
if (YYMAXDEPTH < yystacksize) |
1058 |
yystacksize = YYMAXDEPTH; |
yystacksize = YYMAXDEPTH; |
1059 |
|
|
1060 |
{ |
{ |
1080 |
YYDPRINTF ((stderr, "Stack size increased to %lu\n", |
YYDPRINTF ((stderr, "Stack size increased to %lu\n", |
1081 |
(unsigned long int) yystacksize)); |
(unsigned long int) yystacksize)); |
1082 |
|
|
1083 |
if (yyssp >= yyss + yystacksize - 1) |
if (yyss + yystacksize - 1 <= yyssp) |
1084 |
YYABORT; |
YYABORT; |
1085 |
} |
} |
1086 |
|
|
1212 |
yyn - 1, yyrline[yyn]); |
yyn - 1, yyrline[yyn]); |
1213 |
|
|
1214 |
/* Print the symbols being reduced, and their result. */ |
/* Print the symbols being reduced, and their result. */ |
1215 |
for (yyi = yyprhs[yyn]; yyrhs[yyi] >= 0; yyi++) |
for (yyi = yyprhs[yyn]; 0 <= yyrhs[yyi]; yyi++) |
1216 |
YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); |
YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); |
1217 |
YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); |
YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); |
1218 |
} |
} |
1627 |
|
|
1628 |
} |
} |
1629 |
|
|
1630 |
/* Line 1016 of /usr/local/share/bison/yacc.c. */ |
/* Line 1022 of /tmp/prefix/share/bison/yacc.c. */ |
1631 |
#line 1621 "parse-gram.c" |
#line 1632 "parse-gram.c" |
1632 |
|
|
1633 |
yyvsp -= yylen; |
yyvsp -= yylen; |
1634 |
yyssp -= yylen; |
yyssp -= yylen; |
1738 |
/* Pop the error token. */ |
/* Pop the error token. */ |
1739 |
YYPOPSTACK; |
YYPOPSTACK; |
1740 |
/* Pop the rest of the stack. */ |
/* Pop the rest of the stack. */ |
1741 |
while (yyssp > yyss) |
while (yyss < yyssp) |
1742 |
{ |
{ |
1743 |
YYDPRINTF ((stderr, "Error: popping ")); |
YYDPRINTF ((stderr, "Error: popping ")); |
1744 |
YYDSYMPRINT ((stderr, |
YYDSYMPRINT ((stderr, |