vkd3d-shader/preproc: Treat CR as whitespace.

This commit is contained in:
Victor Chiletto
2024-05-22 14:07:00 -03:00
committed by Alexandre Julliard
parent a64426edf9
commit 105ef28273
Notes: Alexandre Julliard 2024-05-23 23:23:39 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/879
2 changed files with 13 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ static void update_location(struct preproc_ctx *ctx);
%s LINE
NEWLINE \r?\n
WS [ \t]
WS [ \t\r]
IDENTIFIER [A-Za-z_][A-Za-z0-9_]*
INT_SUFFIX [uUlL]{0,2}