Commit eb85124a authored by Erik Faye-Lund 's avatar Erik Faye-Lund

glsl: do not use deprecated bison-keyword

%error-verbose has been deprecated since Bison 3.0, which was released
in 2013. In Bison 3.3.1 which was recently released, this has started
causing warnings. Let's update the code to do this in the modern way
intead, to avoid cluttering the output needlessly.
Signed-off-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
parent 67f94968
Pipeline #37967 passed with stages
in 11 minutes and 48 seconds
......@@ -155,7 +155,7 @@ add_builtin_define(glcpp_parser_t *parser, const char *name, int value);
%}
%pure-parser
%error-verbose
%define parse.error verbose
%locations
%initial-action {
......
......@@ -81,7 +81,7 @@ static bool match_layout_qualifier(const char *s1, const char *s2,
%expect 0
%pure-parser
%error-verbose
%define parse.error verbose
%locations
%initial-action {
......
......@@ -124,7 +124,7 @@ static struct asm_instruction *asm_instruction_copy_ctor(
%locations
%lex-param { struct asm_parser_state *state }
%parse-param { struct asm_parser_state *state }
%error-verbose
%define parse.error verbose
%union {
struct asm_instruction *inst;
......
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