d3dcompiler: Allow a comma at the end of an initializer.
This commit is contained in:
parent
a5203e1a79
commit
0d2a27af40
|
@ -1585,6 +1585,10 @@ complex_initializer: initializer_expr
|
|||
{
|
||||
$$ = $2;
|
||||
}
|
||||
| '{' initializer_expr_list ',' '}'
|
||||
{
|
||||
$$ = $2;
|
||||
}
|
||||
|
||||
initializer_expr: assignment_expr
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue