mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Parse #line directives.
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
6520fb153e
commit
160db8306f
@@ -327,6 +327,7 @@ static void free_parse_arg_names(struct parse_arg_names *args)
|
||||
%token T_IFDEF "#ifdef"
|
||||
%token T_IFNDEF "#ifndef"
|
||||
%token T_INCLUDE "#include"
|
||||
%token T_LINE "#line"
|
||||
%token T_PRAGMA "#pragma"
|
||||
%token T_UNDEF "#undef"
|
||||
|
||||
@@ -671,6 +672,17 @@ directive
|
||||
}
|
||||
vkd3d_free($2);
|
||||
}
|
||||
| T_LINE T_INTEGER T_NEWLINE
|
||||
{
|
||||
FIXME("#line directive.\n");
|
||||
vkd3d_free($2);
|
||||
}
|
||||
| T_LINE T_INTEGER T_STRING T_NEWLINE
|
||||
{
|
||||
FIXME("#line directive.\n");
|
||||
vkd3d_free($2);
|
||||
vkd3d_free($3);
|
||||
}
|
||||
|
||||
primary_expr
|
||||
: T_INTEGER
|
||||
|
Reference in New Issue
Block a user