Skip to content
Snippets Groups Projects
Commit e3e0c264 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

vkd3d-shader: Use hlsl_report_message() to report use of reserved keywords.

parent c7d4acaf
Branches
Tags
No related merge requests found
......@@ -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; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment