diff options
author | Zebediah Figura <zfigura@codeweavers.com> | 2022-03-30 01:42:59 +0300 |
---|---|---|
committer | Giovanni Mascellani <gmascellani@codeweavers.com> | 2022-07-26 15:48:53 +0300 |
commit | 6f729044406414ec2845a1244d9412a6ab67819e (patch) | |
tree | 93ea96daa6ba37692a602cc37574eb2a953363a4 | |
parent | f5b24bcc1a48e333383a4f072200c941e3febc47 (diff) |
vkd3d-shader/hlsl: Allow whitespace before preprocessor directives.
-rw-r--r-- | libs/vkd3d-shader/hlsl.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/vkd3d-shader/hlsl.l b/libs/vkd3d-shader/hlsl.l index 0e9613b6..4da45231 100644 --- a/libs/vkd3d-shader/hlsl.l +++ b/libs/vkd3d-shader/hlsl.l @@ -224,7 +224,7 @@ row_major {return KW_ROW_MAJOR; } ctx->location.column = 1; } -^# { +^{WS}*# { BEGIN(pp); } |