summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-05-20 13:29:05 +0200
committerErik Faye-Lund <[email protected]>2019-05-21 11:31:43 +0000
commiteb85124a9f6e9cb94d0d4a99f91bbae374777e3a (patch)
treef06be0bbc884473fa36f094bd99cf8e44bbd37d9 /src/mesa
parent67f94968936ea84335a37afbc36033dbc7353c95 (diff)
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 <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/program/program_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y
index 7398f5f507a..3d0c1e2ea9e 100644
--- a/src/mesa/program/program_parse.y
+++ b/src/mesa/program/program_parse.y
@@ -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;