mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove YYERROR_VERBOSE which no longer supported since bison 3.6.
Instead we added `%define parse.error verbose`.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user