Alexandre Julliard : d3dcompiler: Use %define parse.error verbose instead of %error-verbose.

Alexandre Julliard julliard at winehq.org
Tue Apr 23 17:39:54 CDT 2019


Module: wine
Branch: master
Commit: 2d27c13d5ea76ec80e2a67272c8eafe8527e6af0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2d27c13d5ea76ec80e2a67272c8eafe8527e6af0

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr 23 11:47:53 2019 +0200

d3dcompiler: Use %define parse.error verbose instead of %error-verbose.

The latter is deprecated and causes warnings.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dcompiler_43/hlsl.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
index c2c415f..358ed96 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -903,7 +903,7 @@ static const struct hlsl_ir_function_decl *get_overloaded_func(struct wine_rb_tr
 %}
 
 %locations
-%error-verbose
+%define parse.error verbose
 %expect 1
 
 %union




More information about the wine-cvs mailing list