[YYERROR_VERBOSE]: Re-integrate as an internal macro.
+2001-11-28 Marc Autret <autret_m@epita.fr>
+
+ * src/bison.simple: Fix debug.
+ [YYERROR_VERBOSE]: Re-integrate as an internal macro.
+
2001-11-28 Akim Demaille <akim@epita.fr>
* src/LR0.c (shifts_new): New.
2001-11-28 Akim Demaille <akim@epita.fr>
* src/LR0.c (shifts_new): New.
# define YYLTYPE %%ltype
#endif
# define YYLTYPE %%ltype
#endif
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+#endif
+
+#define YYERROR_VERBOSE %%error_verbose
+
+#if YYDEBUG || YYERROR_VERBOSE
/* YYTNME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
static const char *const yytname[] =
{
/* YYTNME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
static const char *const yytname[] =
{
yyn = yypact[yystate];
if (yyn > YYFLAG && yyn < YYLAST)
yyn = yypact[yystate];
if (yyn > YYFLAG && yyn < YYLAST)
yyerror ("parse error; also virtual memory exhausted");
}
else
yyerror ("parse error; also virtual memory exhausted");
}
else
-#endif /* %%ERROR_VERBOSE */
+#endif /* YYERROR_VERBOSE */
yyerror ("parse error");
}
goto yyerrlab1;
yyerror ("parse error");
}
goto yyerrlab1;