Re: [PATCH] scripts: gen_compile_commands: fix invalid escape sequence warning

2024-05-14 Thread Tom Rini
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:

Re: [PATCH] scripts: gen_compile_commands: fix invalid escape sequence warning

2024-05-03 Thread João Marcos Costa
Hello, thanks for this fix! Em sex., 3 de mai. de 2024 às 15:20, Caleb Connolly < caleb.conno...@linaro.org> escreveu: > 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

[PATCH] scripts: gen_compile_commands: fix invalid escape sequence warning

2024-05-03 Thread Caleb Connolly
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-l