mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Implement the ternary operator in #if directives.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
338399d563
commit
e15b884e1a
@@ -162,7 +162,7 @@ IDENTIFIER [A-Za-z_][A-Za-z0-9_]*
|
||||
}
|
||||
|
||||
<INITIAL>{WS}+ {}
|
||||
<INITIAL>[-()\[\]{},+!*/<>&|^] {return yytext[0];}
|
||||
<INITIAL>[-()\[\]{},+!*/<>&|^?:] {return yytext[0];}
|
||||
<INITIAL>. {return T_TEXT;}
|
||||
|
||||
%%
|
||||
|
Reference in New Issue
Block a user