mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 06:10:13 +01:00
Make the multi-line comment regular expression a bit easier to read.
Use quoted strings for literal portions rather than a sequence of single-character character classes.
This commit is contained in:
parent
4c22f4dba7
commit
e4b2731a25
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ HEXADECIMAL_INTEGER 0[xX][0-9a-fA-F]+[uU]?
|
|||
}
|
||||
|
||||
/* Multi-line comments */
|
||||
[/][*]([^*]*[*]+[^*/])*[^*]*[*]+[/] {
|
||||
"/*"([^*]*[*]+[^*/])*[^*]*[*]+"/" {
|
||||
if (yyextra->space_tokens)
|
||||
return SPACE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue