mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/hlsl: Lex invalid characters in #line directives.
Avoid letting them fall through to the default rule.
This commit is contained in:
parent
7b8845474d
commit
600fdcd112
Notes:
Alexandre Julliard
2023-05-09 22:25:38 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/204
@ -266,6 +266,10 @@ row_major {return KW_ROW_MAJOR; }
|
||||
return STRING;
|
||||
}
|
||||
<pp_line>{WS}+ {}
|
||||
<pp_line>{ANY} {
|
||||
FIXME("Malformed preprocessor line directive?\n");
|
||||
BEGIN(INITIAL);
|
||||
}
|
||||
<pp_line>{NEWLINE} {
|
||||
FIXME("Malformed preprocessor line directive?\n");
|
||||
BEGIN(INITIAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user