Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.l:
stateblock {return KW_STATEBLOCK; } stateblock_state {return KW_STATEBLOCK_STATE; } static {return KW_STATIC; } -string {return KW_STRING; }
If "string" is a keyword (can't be a variable name) then this needs to stay.