Regenerate.

This commit is contained in:
Paul Eggert
2005-09-20 23:09:18 +00:00
parent 9069e5de23
commit ac2434287d
2 changed files with 47 additions and 39 deletions

View File

@@ -284,18 +284,17 @@ typedef struct YYLTYPE
/* Line 219 of yacc.c. */ /* Line 219 of yacc.c. */
#line 286 "parse-gram.c" #line 286 "parse-gram.c"
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) #ifndef YYSIZE_T
# define YYSIZE_T __SIZE_TYPE__ # if defined (__SIZE_TYPE__)
#endif # define YYSIZE_T __SIZE_TYPE__
#if ! defined (YYSIZE_T) && defined (size_t) # elif defined (size_t)
# define YYSIZE_T size_t # define YYSIZE_T size_t
#endif # elif ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus))
#if ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus)) # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t
# define YYSIZE_T size_t # else
#endif # define YYSIZE_T unsigned int
#if ! defined (YYSIZE_T) # endif
# define YYSIZE_T unsigned int
#endif #endif
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
@@ -320,11 +319,20 @@ typedef struct YYLTYPE
# if YYSTACK_USE_ALLOCA # if YYSTACK_USE_ALLOCA
# ifdef __GNUC__ # ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca # define YYSTACK_ALLOC __builtin_alloca
# elif defined (__BUILTIN_VA_ARG_INCR)
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
# elif defined (_AIX)
# define YYSTACK_ALLOC __alloca
# elif defined (_MSC_VER)
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
# define alloca _alloca
# else # else
# define YYSTACK_ALLOC alloca # define YYSTACK_ALLOC alloca
# if defined (__STDC__) || defined (__cplusplus) # if ! defined (_STDLIB_H) && (defined (__STDC__) || defined (__cplusplus))
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# define YYINCLUDED_STDLIB_H # ifndef _STDLIB_H
# define _STDLIB_H 1
# endif
# endif # endif
# endif # endif
# endif # endif
@@ -351,14 +359,14 @@ extern "C" {
# endif # endif
# ifndef YYMALLOC # ifndef YYMALLOC
# define YYMALLOC malloc # define YYMALLOC malloc
# if (! defined (malloc) && ! defined (YYINCLUDED_STDLIB_H) \ # if (! defined (malloc) && ! defined (_STDLIB_H) \
&& (defined (__STDC__) || defined (__cplusplus))) && (defined (__STDC__) || defined (__cplusplus)))
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
# endif # endif
# endif # endif
# ifndef YYFREE # ifndef YYFREE
# define YYFREE free # define YYFREE free
# if (! defined (free) && ! defined (YYINCLUDED_STDLIB_H) \ # if (! defined (free) && ! defined (_STDLIB_H) \
&& (defined (__STDC__) || defined (__cplusplus))) && (defined (__STDC__) || defined (__cplusplus)))
void free (void *); /* INFRINGES ON USER NAME SPACE */ void free (void *); /* INFRINGES ON USER NAME SPACE */
# endif # endif
@@ -1174,92 +1182,92 @@ yysymprint (yyoutput, yytype, yyvaluep, yylocationp)
case 3: /* "\"string\"" */ case 3: /* "\"string\"" */
#line 165 "parse-gram.y" #line 165 "parse-gram.y"
{ fprintf (stderr, "\"%s\"", (yyvaluep->chars)); }; { fprintf (stderr, "\"%s\"", (yyvaluep->chars)); };
#line 1178 "parse-gram.c" #line 1186 "parse-gram.c"
break; break;
case 4: /* "\"integer\"" */ case 4: /* "\"integer\"" */
#line 178 "parse-gram.y" #line 178 "parse-gram.y"
{ fprintf (stderr, "%d", (yyvaluep->integer)); }; { fprintf (stderr, "%d", (yyvaluep->integer)); };
#line 1183 "parse-gram.c" #line 1191 "parse-gram.c"
break; break;
case 8: /* "\"%destructor {...}\"" */ case 8: /* "\"%destructor {...}\"" */
#line 167 "parse-gram.y" #line 167 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1188 "parse-gram.c" #line 1196 "parse-gram.c"
break; break;
case 9: /* "\"%printer {...}\"" */ case 9: /* "\"%printer {...}\"" */
#line 171 "parse-gram.y" #line 171 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1193 "parse-gram.c" #line 1201 "parse-gram.c"
break; break;
case 10: /* "\"%union {...}\"" */ case 10: /* "\"%union {...}\"" */
#line 172 "parse-gram.y" #line 172 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1198 "parse-gram.c" #line 1206 "parse-gram.c"
break; break;
case 26: /* "\"%initial-action {...}\"" */ case 26: /* "\"%initial-action {...}\"" */
#line 168 "parse-gram.y" #line 168 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1203 "parse-gram.c" #line 1211 "parse-gram.c"
break; break;
case 27: /* "\"%lex-param {...}\"" */ case 27: /* "\"%lex-param {...}\"" */
#line 169 "parse-gram.y" #line 169 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1208 "parse-gram.c" #line 1216 "parse-gram.c"
break; break;
case 34: /* "\"%parse-param {...}\"" */ case 34: /* "\"%parse-param {...}\"" */
#line 170 "parse-gram.y" #line 170 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1213 "parse-gram.c" #line 1221 "parse-gram.c"
break; break;
case 41: /* "\"type\"" */ case 41: /* "\"type\"" */
#line 176 "parse-gram.y" #line 176 "parse-gram.y"
{ fprintf (stderr, "<%s>", (yyvaluep->uniqstr)); }; { fprintf (stderr, "<%s>", (yyvaluep->uniqstr)); };
#line 1218 "parse-gram.c" #line 1226 "parse-gram.c"
break; break;
case 45: /* "\"identifier\"" */ case 45: /* "\"identifier\"" */
#line 180 "parse-gram.y" #line 180 "parse-gram.y"
{ fprintf (stderr, "%s", (yyvaluep->symbol)->tag); }; { fprintf (stderr, "%s", (yyvaluep->symbol)->tag); };
#line 1223 "parse-gram.c" #line 1231 "parse-gram.c"
break; break;
case 46: /* "\"identifier:\"" */ case 46: /* "\"identifier:\"" */
#line 182 "parse-gram.y" #line 182 "parse-gram.y"
{ fprintf (stderr, "%s:", (yyvaluep->symbol)->tag); }; { fprintf (stderr, "%s:", (yyvaluep->symbol)->tag); };
#line 1228 "parse-gram.c" #line 1236 "parse-gram.c"
break; break;
case 48: /* "\"%{...%}\"" */ case 48: /* "\"%{...%}\"" */
#line 174 "parse-gram.y" #line 174 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1233 "parse-gram.c" #line 1241 "parse-gram.c"
break; break;
case 49: /* "\"epilogue\"" */ case 49: /* "\"epilogue\"" */
#line 174 "parse-gram.y" #line 174 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1238 "parse-gram.c" #line 1246 "parse-gram.c"
break; break;
case 50: /* "\"{...}\"" */ case 50: /* "\"{...}\"" */
#line 173 "parse-gram.y" #line 173 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1243 "parse-gram.c" #line 1251 "parse-gram.c"
break; break;
case 71: /* "symbol" */ case 71: /* "symbol" */
#line 180 "parse-gram.y" #line 180 "parse-gram.y"
{ fprintf (stderr, "%s", (yyvaluep->symbol)->tag); }; { fprintf (stderr, "%s", (yyvaluep->symbol)->tag); };
#line 1248 "parse-gram.c" #line 1256 "parse-gram.c"
break; break;
case 72: /* "action" */ case 72: /* "action" */
#line 173 "parse-gram.y" #line 173 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); }; { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
#line 1253 "parse-gram.c" #line 1261 "parse-gram.c"
break; break;
case 73: /* "string_as_id" */ case 73: /* "string_as_id" */
#line 180 "parse-gram.y" #line 180 "parse-gram.y"
{ fprintf (stderr, "%s", (yyvaluep->symbol)->tag); }; { fprintf (stderr, "%s", (yyvaluep->symbol)->tag); };
#line 1258 "parse-gram.c" #line 1266 "parse-gram.c"
break; break;
case 74: /* "string_content" */ case 74: /* "string_content" */
#line 165 "parse-gram.y" #line 165 "parse-gram.y"
{ fprintf (stderr, "\"%s\"", (yyvaluep->chars)); }; { fprintf (stderr, "\"%s\"", (yyvaluep->chars)); };
#line 1263 "parse-gram.c" #line 1271 "parse-gram.c"
break; break;
default: default:
break; break;
@@ -1438,8 +1446,8 @@ YYLTYPE yylloc;
yylloc.start.line = yylloc.end.line = 1; yylloc.start.line = yylloc.end.line = 1;
yylloc.start.column = yylloc.end.column = 0; yylloc.start.column = yylloc.end.column = 0;
} }
/* Line 1044 of yacc.c. */ /* Line 1052 of yacc.c. */
#line 1443 "parse-gram.c" #line 1451 "parse-gram.c"
yylsp[0] = yylloc; yylsp[0] = yylloc;
goto yysetstate; goto yysetstate;
@@ -2021,8 +2029,8 @@ yyreduce:
default: break; default: break;
} }
/* Line 1240 of yacc.c. */ /* Line 1248 of yacc.c. */
#line 2026 "parse-gram.c" #line 2034 "parse-gram.c"
yyvsp -= yylen; yyvsp -= yylen;
yyssp -= yylen; yyssp -= yylen;

View File

@@ -144,7 +144,7 @@ typedef union YYSTYPE {
assoc assoc; assoc assoc;
uniqstr uniqstr; uniqstr uniqstr;
} YYSTYPE; } YYSTYPE;
/* Line 1496 of yacc.c. */ /* Line 1504 of yacc.c. */
#line 149 "parse-gram.h" #line 149 "parse-gram.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_DECLARED 1