mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(_AT_CHECK_PRINTER_AND_DESTRUCTOR): Don't
declare yyerror when using lalr.cc, as GCC 3.4.0 warns about the unused declaration.
This commit is contained in:
@@ -336,8 +336,8 @@ AT_DATA_GRAMMAR([[input.y]],
|
||||
%{
|
||||
]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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user