Searched hist:"673 bb2df" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/scripts/ |
H A D | kernel-doc | 673bb2df Sun Aug 05 11:41:09 CDT 2018 Ben Hutchings <ben@decadent.org.uk> scripts/kernel-doc: Escape all literal braces in regexes
Commit 701b3a3c0ac4 ("PATCH scripts/kernel-doc") fixed the two instances of literal braces that Perl 5.28 warns about, but there are still more than it doesn't warn about.
Escape all left braces that are treated as literal characters. Also escape literal right braces, for consistency and to avoid confusing bracket-matching in text editors.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jonathan Corbet <corbet@lwn.net> 673bb2df Sun Aug 05 11:41:09 CDT 2018 Ben Hutchings <ben@decadent.org.uk> scripts/kernel-doc: Escape all literal braces in regexes Commit 701b3a3c0ac4 ("PATCH scripts/kernel-doc") fixed the two instances of literal braces that Perl 5.28 warns about, but there are still more than it doesn't warn about. Escape all left braces that are treated as literal characters. Also escape literal right braces, for consistency and to avoid confusing bracket-matching in text editors. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
|