mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Use hlsl_report_message() to report use of reserved keywords.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c7d4acaf4b
commit
e3e0c26475
@ -65,8 +65,8 @@ ANY (.)
|
||||
{RESERVED4} {
|
||||
struct hlsl_ctx *ctx = yyget_extra(yyscanner);
|
||||
|
||||
hlsl_message("Line %u: Reserved keyword \"%s\" used.\n", ctx->line_no, yytext);
|
||||
set_parse_status(&ctx->status, PARSE_ERR);
|
||||
hlsl_report_message(ctx, *yylloc, HLSL_LEVEL_ERROR,
|
||||
"Reserved keyword \"%s\" used.\n", yytext);
|
||||
}
|
||||
|
||||
BlendState {return KW_BLENDSTATE; }
|
||||
|
Loading…
Reference in New Issue
Block a user