Commit 0d2a27af authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dcompiler: Allow a comma at the end of an initializer.

parent a5203e1a
...@@ -1585,6 +1585,10 @@ complex_initializer: initializer_expr ...@@ -1585,6 +1585,10 @@ complex_initializer: initializer_expr
{ {
$$ = $2; $$ = $2;
} }
| '{' initializer_expr_list ',' '}'
{
$$ = $2;
}
initializer_expr: assignment_expr initializer_expr: assignment_expr
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment