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

This commit is contained in:
Matteo Bruni 2012-11-09 15:20:37 +01:00 committed by Alexandre Julliard
parent a5203e1a79
commit 0d2a27af40
1 changed files with 4 additions and 0 deletions

View File

@ -1585,6 +1585,10 @@ complex_initializer: initializer_expr
{
$$ = $2;
}
| '{' initializer_expr_list ',' '}'
{
$$ = $2;
}
initializer_expr: assignment_expr
{