Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/vkd3d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZebediah Figura <zfigura@codeweavers.com>2022-03-30 01:42:59 +0300
committerGiovanni Mascellani <gmascellani@codeweavers.com>2022-07-26 15:48:53 +0300
commit6f729044406414ec2845a1244d9412a6ab67819e (patch)
tree93ea96daa6ba37692a602cc37574eb2a953363a4
parentf5b24bcc1a48e333383a4f072200c941e3febc47 (diff)
vkd3d-shader/hlsl: Allow whitespace before preprocessor directives.
-rw-r--r--libs/vkd3d-shader/hlsl.l2
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);
}