declare yyerror when using lalr.cc, as GCC 3.4.0 warns about the
unused declaration.
%{
]AT_LALR1_CC_IF([typedef yy::Location YYLTYPE;])
[static int yylex (]AT_LEX_FORMALS[);
%{
]AT_LALR1_CC_IF([typedef yy::Location YYLTYPE;])
[static int yylex (]AT_LEX_FORMALS[);
-static void yyerror (const char *msg);
-%}
+]AT_LALR1_CC_IF([], [static void yyerror (const char *msg);])
+[%}
%type <ival> 'x' ';' thing line input
%type <ival> 'x' ';' thing line input