[PATCH 4/5] d3dcompiler: Parse the comma operator.

Zebediah Figura z.figura12 at gmail.com
Tue Feb 11 22:54:20 CST 2020


From: Zebediah Figura <zfigura at codeweavers.com>

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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 87a5273d2d8..f329a470f0b 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -2453,7 +2453,9 @@ expr:                     assignment_expr
                             }
                         | expr ',' assignment_expr
                             {
-                                FIXME("Comma expression\n");
+                                $$ = $1;
+                                list_move_tail($$, $3);
+                                d3dcompiler_free($3);
                             }
 
 %%
-- 
2.25.0




More information about the wine-devel mailing list