Matteo Bruni : vkd3d-shader: Get rid of a spurious '\n' in a HLSL compiler message.

Alexandre Julliard julliard at winehq.org
Wed Mar 17 16:19:09 CDT 2021


Module: vkd3d
Branch: master
Commit: 588d3e5a576870f093d0789412a3974675345412
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=588d3e5a576870f093d0789412a3974675345412

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Mar 17 13:38:14 2021 +0100

vkd3d-shader: Get rid of a spurious '\n' in a HLSL compiler message.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d-shader/hlsl.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/vkd3d-shader/hlsl.y b/libs/vkd3d-shader/hlsl.y
index afac0ab..4769475 100644
--- a/libs/vkd3d-shader/hlsl.y
+++ b/libs/vkd3d-shader/hlsl.y
@@ -755,7 +755,7 @@ static struct list *gen_struct_fields(struct hlsl_ctx *ctx, struct hlsl_type *ty
         field->semantic = v->semantic;
         if (v->initializer.args_count)
         {
-            hlsl_error(ctx, v->loc, VKD3D_SHADER_ERROR_HLSL_INVALID_SYNTAX, "Illegal initializer on a struct field.\n");
+            hlsl_error(ctx, v->loc, VKD3D_SHADER_ERROR_HLSL_INVALID_SYNTAX, "Illegal initializer on a struct field.");
             free_parse_initializer(&v->initializer);
         }
         list_add_tail(list, &field->entry);




More information about the wine-cvs mailing list