[php-src] PR #19050: Fix -Wuseless-escape warnings emitted by re2c
| From: | petk | Date: | Sun, 06 Jul 2025 11:18:35 +0000 |
| Subject: | [php-src] PR #19050: Fix -Wuseless-escape warnings emitted by re2c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32344@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19050
Author: petk
re2c version 4 enabled some warnings by default. This fixes re2c code for the
-Wuseless-escape warnings.
There are two same issues reported.
Issue: GH-17523
Closes: GH-17204
I'd suggest to split these issues into more steps to gradually fix all re2c warnings and
enabling all warnings with -W flag on master (PHP-8.5) branch.
Can someone perhaps review this one if this is correct?
I've tested this with re2c 1.0.3 and latest re2c version 4. And it seems the output of the
generated files is the same before this patch and after.