Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.l:
yylval->intval = vkd3d_parse_integer(yytext); return C_INTEGER; }
+{STRING} {
return STRING;
}
Our current STRING pattern is probably wrong for C strings; it forbids any backslashes inside the string. The preprocessor has a pattern which is probably more correct.
Adding an extra test or two here would not be a bad idea.