mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 23:02:16 +00:00
d3dcompiler: Fix the location for a warning.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
529608f10e
commit
e0948524f2
|
@ -1257,7 +1257,7 @@ struct_declaration: var_modifiers struct_spec variables_def_optional ';'
|
||||||
{
|
{
|
||||||
if (!$2->name)
|
if (!$2->name)
|
||||||
{
|
{
|
||||||
hlsl_report_message(get_location(&@1), HLSL_LEVEL_ERROR,
|
hlsl_report_message(get_location(&@2), HLSL_LEVEL_ERROR,
|
||||||
"anonymous struct declaration with no variables");
|
"anonymous struct declaration with no variables");
|
||||||
}
|
}
|
||||||
if (modifiers)
|
if (modifiers)
|
||||||
|
|
Loading…
Reference in a new issue