# define YYLTYPE %%ltype
#endif
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+#endif
+
+#define YYERROR_VERBOSE %%error_verbose
+
/* Tokens. */
%%tokendef
};
#endif
-#if %%error_verbose
+#if YYDEBUG || YYERROR_VERBOSE
/* YYTNME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
static const char *const yytname[] =
{
{
++yynerrs;
-#if %%error_verbose
+#if YYERROR_VERBOSE
yyn = yypact[yystate];
if (yyn > YYFLAG && yyn < YYLAST)
yyerror ("parse error; also virtual memory exhausted");
}
else
-#endif /* %%ERROR_VERBOSE */
+#endif /* YYERROR_VERBOSE */
yyerror ("parse error");
}
goto yyerrlab1;