mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 02:40:11 +01:00
glcpp: Fix "dangerous trailing context" warning.
Flex couldn't be sure whether "def" and "ndef" were part of the #ifdef and #ifndef patterns or the trailing context of the #if pattern.
This commit is contained in:
parent
d07bb7b83a
commit
12a820c9d8
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ HEXADECIMAL_INTEGER 0[xX][0-9a-fA-F]+[uU]?
|
|||
return HASH_IFNDEF;
|
||||
}
|
||||
|
||||
{HASH}if/.*\n {
|
||||
{HASH}if{HSPACE}/.*\n {
|
||||
yyextra->lexing_if = 1;
|
||||
yyextra->space_tokens = 0;
|
||||
return HASH_IF;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue