[PATCH 1/5] d3dcompiler: Fix the location for a warning.

Liam Middlebrook lmiddlebrook at nvidia.com
Fri Mar 20 21:59:35 CDT 2020


Signed-off-by: Liam Middlebrook <lmiddlebrook at nvidia.com>

On 3/19/20 4:07 PM, Zebediah Figura wrote:
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>   dlls/d3dcompiler_43/hlsl.y | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
> index 4f5a7b1782c..4c3e96caa0d 100644
> --- a/dlls/d3dcompiler_43/hlsl.y
> +++ b/dlls/d3dcompiler_43/hlsl.y
> @@ -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)
> 

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------



More information about the wine-devel mailing list