Remove YYERROR_VERBOSE which no longer supported since bison 3.6.

Instead we added `%define parse.error verbose`.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-05-15 12:30:13 +09:00
parent d64c4d64e6
commit 484577670f
+1 -1
View File
@@ -9,7 +9,6 @@
#ifdef PARSER_DEBUG
# define YYDEBUG 1
#endif
#define YYERROR_VERBOSE 1
#define YYSTACK_USE_ALLOCA 1
#include <ctype.h>
@@ -1330,6 +1329,7 @@ heredoc_end(parser_state *p)
%}
%define parse.error verbose
%define api.pure
%parse-param {parser_state *p}
%lex-param {parser_state *p}