mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/hlsl: Remove some tokens from the lexer.
None of these currently have any meaning, and none of these can currently be parsed as distinct tokens either (i.e. they will generate a syntax error anyway).
This commit is contained in:
parent
98b5eb474a
commit
4cfc7d44ab
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
@ -166,7 +166,6 @@ while {return KW_WHILE; }
|
||||
\<\<= {return OP_LEFTSHIFTASSIGN; }
|
||||
\>\> {return OP_RIGHTSHIFT; }
|
||||
\>\>= {return OP_RIGHTSHIFTASSIGN; }
|
||||
\.\.\. {return OP_ELLIPSIS; }
|
||||
\<= {return OP_LE; }
|
||||
\>= {return OP_GE; }
|
||||
!= {return OP_NE; }
|
||||
@ -178,10 +177,6 @@ while {return KW_WHILE; }
|
||||
&= {return OP_ANDASSIGN; }
|
||||
\|= {return OP_ORASSIGN; }
|
||||
^= {return OP_XORASSIGN; }
|
||||
## {return OP_UNKNOWN1; }
|
||||
#@ {return OP_UNKNOWN2; }
|
||||
:: {return OP_UNKNOWN3; }
|
||||
\-\> {return OP_UNKNOWN4; }
|
||||
|
||||
column_major {return KW_COLUMN_MAJOR; }
|
||||
row_major {return KW_ROW_MAJOR; }
|
||||
|
@ -4861,7 +4861,6 @@ static void check_duplicated_switch_cases(struct hlsl_ctx *ctx, const struct hls
|
||||
%token OP_LEFTSHIFTASSIGN
|
||||
%token OP_RIGHTSHIFT
|
||||
%token OP_RIGHTSHIFTASSIGN
|
||||
%token OP_ELLIPSIS
|
||||
%token OP_LE
|
||||
%token OP_GE
|
||||
%token OP_NE
|
||||
@ -4873,10 +4872,6 @@ static void check_duplicated_switch_cases(struct hlsl_ctx *ctx, const struct hls
|
||||
%token OP_ANDASSIGN
|
||||
%token OP_ORASSIGN
|
||||
%token OP_XORASSIGN
|
||||
%token OP_UNKNOWN1
|
||||
%token OP_UNKNOWN2
|
||||
%token OP_UNKNOWN3
|
||||
%token OP_UNKNOWN4
|
||||
|
||||
%token <floatval> C_FLOAT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user