/* For __extension__, save/restore the warning flags which are
controlled by __extension__. */
#define SAVE_WARN_FLAGS() \
- build_int_2 (pedantic | (warn_pointer_arith << 1), 0)
+ size_int (pedantic | (warn_pointer_arith << 1))
#define RESTORE_WARN_FLAGS(tval) \
do { \
- int val = tree_low_cst (tval, 0); \
+ int val = tree_low_cst (tval, 0); \
pedantic = val & 1; \
warn_pointer_arith = (val >> 1) & 1; \
} while (0)
48, 49, 50, 51, 52, 53, 54, 55, 56, 57
};
/* -*-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,
#endif
#endif
\f
-#line 217 "/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 *.
int yylen;
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Starting parse\n");
#endif
yylsp = yyls + size - 1;
#endif
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif
YYABORT;
}
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Entering state %d\n", yystate);
#endif
if (yychar == YYEMPTY)
{
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Reading a token: ");
#endif
yychar1 = 0;
yychar = YYEOF; /* Don't call YYLEX any more */
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Now at end of input.\n");
#endif
{
yychar1 = YYTRANSLATE(yychar);
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
{
fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
/* Shift the lookahead token. */
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif
if (yydebug)
{
int i;
-#ifdef YYFILE
- fprintf (stderr, YYFILE ":%d: %s:", yyrline[yyn], yytname[yyr1[yyn]]);
- for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- fprintf (stderr, " %s", yytname[yyrhs[i]]);
- fputc ('\n', stderr);
-#else
+
fprintf (stderr, "Reducing via rule %d (line %d), ",
yyn, yyrline[yyn]);
for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
fprintf (stderr, "%s ", yytname[yyrhs[i]]);
fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
-#endif
}
#endif
else
name = "";
yyval.ttype = result;
- if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
+ if (TREE_CODE (type) == ARRAY_TYPE && !COMPLETE_TYPE_P (type))
{
int failure = complete_array_type (type, yyval.ttype, 1);
if (failure)
break;}
}
/* the action file gets copied in in place of this dollarsign */
-#line 543 "/usr/share/bison.simple"
+#line 543 "/usr/lib/bison.simple"
\f
yyvsp -= yylen;
yyssp -= yylen;
yylsp -= yylen;
#endif
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
if (yychar == YYEOF)
YYABORT;
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif
yylsp--;
#endif
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
if (yyn == YYFINAL)
YYACCEPT;
-#if YYDEBUG != 0 && !defined YYFILE
+#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting error token, ");
#endif