diff --git a/libs/vkd3d-shader/preproc.l b/libs/vkd3d-shader/preproc.l index 7686e018..be4a0598 100644 --- a/libs/vkd3d-shader/preproc.l +++ b/libs/vkd3d-shader/preproc.l @@ -175,9 +175,9 @@ INT_SUFFIX [uUlL]{0,2} return T_NEWLINE; } -{WS}+ {} +{WS}+ {} [-()\[\]{},+!*/<>&|^?:] {return yytext[0];} -. {return T_TEXT;} +. {return T_TEXT;} %%