Zebediah Figura : d3dcompiler: Parse the comma operator.

Alexandre Julliard julliard at winehq.org
Sun Feb 16 15:23:58 CST 2020


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

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Tue Feb 11 22:54:20 2020 -0600

d3dcompiler: Parse the comma operator.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dcompiler_43/hlsl.y | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
index f9e091af51..52b2b6310b 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -2455,7 +2455,9 @@ expr:                     assignment_expr
                             }
                         | expr ',' assignment_expr
                             {
-                                FIXME("Comma expression\n");
+                                $$ = $1;
+                                list_move_tail($$, $3);
+                                d3dcompiler_free($3);
                             }
 
 %%




More information about the wine-cvs mailing list