mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 22:30:11 +01:00
Revert "glsl: skip stringification in preprocessor if in unreachable branch"
This reverts commit c52bcfa61c.
This revealed the bug reported at:
https://bugs.freedesktop.org/show_bug.cgi?id=107772
Signed-off-by: Andres Gomez <agomez@igalia.com>
This commit is contained in:
parent
86704dc08f
commit
2fd6f06faa
1 changed files with 2 additions and 4 deletions
|
|
@ -420,10 +420,8 @@ HEXADECIMAL_INTEGER 0[xX][0-9a-fA-F]+[uU]?
|
|||
|
||||
/* This will catch any non-directive garbage after a HASH */
|
||||
<HASH>{NONSPACE} {
|
||||
if (!parser->skipping) {
|
||||
BEGIN INITIAL;
|
||||
RETURN_TOKEN (GARBAGE);
|
||||
}
|
||||
BEGIN INITIAL;
|
||||
RETURN_TOKEN (GARBAGE);
|
||||
}
|
||||
|
||||
/* An identifier immediately followed by '(' */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue