mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/preproc: Support namespaces in macro identifiers.
This commit is contained in:
committed by
Henri Verbeet
parent
a2aeb3a142
commit
a3017fe9d5
Notes:
Henri Verbeet
2024-09-24 14:09:30 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1096
@ -66,7 +66,7 @@ static void update_location(struct preproc_ctx *ctx);
|
||||
|
||||
NEWLINE \r?\n
|
||||
WS [ \t\r]
|
||||
IDENTIFIER [A-Za-z_][A-Za-z0-9_]*
|
||||
IDENTIFIER (::)?[A-Za-z_]((::)?[A-Za-z0-9_]+)*
|
||||
INT_SUFFIX [uUlL]{0,2}
|
||||
|
||||
%%
|
||||
|
Reference in New Issue
Block a user