mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader: Preserve some tokens verbatim for the assembler.
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:
parent
275f949a19
commit
3b132ec5ea
@ -104,6 +104,10 @@ IDENTIFIER [A-Za-z_][A-Za-z0-9_]*
|
||||
<INITIAL>">>"=? {return T_TEXT;}
|
||||
<INITIAL>[-+*/%&|^]= {return T_TEXT;}
|
||||
|
||||
/* Native doesn't preserve these tokens when running the preprocessor on its
|
||||
* own, but there's no good reason to emulate that difference yet. */
|
||||
<INITIAL>[pv]s\.[123]\.[0-4x] {return T_TEXT;}
|
||||
|
||||
<INCLUDE,LINE>\"[^"]*\" {return T_STRING;}
|
||||
<INCLUDE>\<[^>]*\> {return T_STRING;}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user