Remove `YYERROR_VERBOSE` which no longer supported since `bison 3.6`.

Instead we added `%define parse.error verbose`.
parent d64c4d64
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#ifdef PARSER_DEBUG #ifdef PARSER_DEBUG
# define YYDEBUG 1 # define YYDEBUG 1
#endif #endif
#define YYERROR_VERBOSE 1
#define YYSTACK_USE_ALLOCA 1 #define YYSTACK_USE_ALLOCA 1
#include <ctype.h> #include <ctype.h>
...@@ -1330,6 +1329,7 @@ heredoc_end(parser_state *p) ...@@ -1330,6 +1329,7 @@ heredoc_end(parser_state *p)
%} %}
%define parse.error verbose
%define api.pure %define api.pure
%parse-param {parser_state *p} %parse-param {parser_state *p}
%lex-param {parser_state *p} %lex-param {parser_state *p}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment