Commit e0948524 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

d3dcompiler: Fix the location for a warning.

parent 529608f1
......@@ -1257,7 +1257,7 @@ struct_declaration: var_modifiers struct_spec variables_def_optional ';'
{
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");
}
if (modifiers)
......
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