[PATCH vkd3d 7/8] vkd3d-shader/preproc: Don't add additional spaces after whitespace tokens.

Matteo Bruni matteo.mystral at gmail.com
Thu Mar 31 12:28:31 CDT 2022


On Thu, Mar 31, 2022 at 7:13 PM Zebediah Figura <zfigura at codeweavers.com> wrote:
>
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
>
> ---
>
> FWIW, the native preprocessor doesn't emit spaces after newlines, but
> also, the native HLSL compiler is fine with spaces before "preprocessor"
> directives. I have patches in my tree for the latter issue as well.

Good to know, makes sense given that the preprocessor allows those. I
think I mostly jumped at the opportunity to get rid of those ugly
extra whitespaces :D



More information about the wine-devel mailing list