diff options
| author | Caleb Connolly <[email protected]> | 2024-05-03 17:18:36 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-13 16:51:14 -0600 |
| commit | 830d83ec385ddf9eeb541027ef09453657deed56 (patch) | |
| tree | d09c0b561f5550eccbd574941304f79c85d9120e /doc/develop | |
| parent | 4f652182a0777085eb9022648c33c5fd8356a0de (diff) | |
scripts: gen_compile_commands: fix invalid escape sequence warning
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 <[email protected]>
Reviewed-by: João Marcos Costa <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
