AT_SETUP([[Installed skeleton file names]])
+AT_BISON_OPTION_PUSHDEFS
m4_pushdef([AT_GRAM],
[[%{
#include <stdio.h>
- void yyerror (char const *msg);
+ ]AT_YYERROR_DECLARE[
int yylex (void);
%}
%%
-void
-yyerror (char const *msg)
-{
- fprintf (stderr, "%s\n", msg);
-}
-
+]AT_YYERROR_DEFINE[
int
yylex (void)
{
m4_popdef([AT_GRAM])
+AT_BISON_OPTION_POPDEFS
AT_CLEANUP