vkd3d-shader/hlsl: Remove C++ comment lexing.

This is already handled by the preprocessor.
This commit is contained in:
Zebediah Figura 2023-07-29 19:05:45 -05:00 committed by Alexandre Julliard
parent 4cfc7d44ab
commit 7632365e60
Notes: Alexandre Julliard 2023-11-06 23:18:46 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/426

View File

@ -53,7 +53,6 @@ RESERVED4 typename|union|unsigned|using|virtual
WS [ \t]
NEWLINE (\n)|(\r\n)
DOUBLESLASHCOMMENT "//"[^\n]*
STRING \"[^\"]*\"
IDENTIFIER [A-Za-z_][A-Za-z0-9_]*
@ -218,8 +217,6 @@ row_major {return KW_ROW_MAJOR; }
return C_INTEGER;
}
{DOUBLESLASHCOMMENT} {}
{WS}+ {}
{NEWLINE} {
struct hlsl_ctx *ctx = yyget_extra(yyscanner);