aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-05-21 14:59:08 +0200
committerErik Faye-Lund <[email protected]>2019-05-21 17:53:54 +0200
commit810b95e02c50eb991e22d0772cf283d25adf7dc4 (patch)
treee36311f5333c7510fa01fb79a1ec8d1ab8ef6a77 /src/compiler/glsl
parent93d900ece365274e45034b85af97abf980a63dfb (diff)
Revert "glsl: do not use deprecated bison-keyword"
This reverts commit eb85124a9f6e9cb94d0d4a99f91bbae374777e3a.
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/glcpp/glcpp-parse.y2
-rw-r--r--src/compiler/glsl/glsl_parser.yy2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y b/src/compiler/glsl/glcpp/glcpp-parse.y
index 736af7e680d..1c095cb66f9 100644
--- a/src/compiler/glsl/glcpp/glcpp-parse.y
+++ b/src/compiler/glsl/glcpp/glcpp-parse.y
@@ -155,7 +155,7 @@ add_builtin_define(glcpp_parser_t *parser, const char *name, int value);
%}
%pure-parser
-%define parse.error verbose
+%error-verbose
%locations
%initial-action {
diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/glsl_parser.yy
index dc6aade2643..6426f890b9e 100644
--- a/src/compiler/glsl/glsl_parser.yy
+++ b/src/compiler/glsl/glsl_parser.yy
@@ -81,7 +81,7 @@ static bool match_layout_qualifier(const char *s1, const char *s2,
%expect 0
%pure-parser
-%define parse.error verbose
+%error-verbose
%locations
%initial-action {