mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Implement concatenation.
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:
committed by
Alexandre Julliard
parent
e1a956f8f2
commit
33df515f10
@@ -327,6 +327,8 @@ static void free_parse_arg_names(struct parse_arg_names *args)
|
||||
%token T_INCLUDE "#include"
|
||||
%token T_UNDEF "#undef"
|
||||
|
||||
%token T_CONCAT "##"
|
||||
|
||||
%type <integer> expr
|
||||
%type <string> body_token
|
||||
%type <const_string> body_token_const
|
||||
@@ -419,6 +421,10 @@ body_token_const
|
||||
{
|
||||
$$ = ",";
|
||||
}
|
||||
| T_CONCAT
|
||||
{
|
||||
$$ = "##";
|
||||
}
|
||||
|
||||
directive
|
||||
: T_DEFINE T_IDENTIFIER body_text T_NEWLINE
|
||||
|
Reference in New Issue
Block a user