[PATCH] scripts: gen_compile_commands: fix invalid escape sequence warning
Tom Rini
trini at konsulko.com
Tue May 14 18:15:52 CEST 2024
On Fri, May 03, 2024 at 05:18:36PM +0200, Caleb Connolly wrote:
> Since Python 3.12 unrecognised escape sequences trigger a SyntaxWarning.
> Convert the '\#' string to a raw string so the backslash is correctly
> used as a literal.
>
> Ported from Linux commit dae4a0171e25 ("gen_compile_commands: fix invalid
> escape sequence warning").
>
> This updates the script to be in-line with Linux 6.9-rc6.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> Reviewed-by: João Marcos Costa <jmcosta944 at gmail.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240514/889ddb63/attachment.sig>
More information about the U-Boot
mailing list