Messages in this thread Patch in this message | | | From | Andy Whitcroft <> | Subject | [PATCH 09/11] checkpatch: fix complex macros handling of square brackets | Date | Mon, 28 Nov 2011 15:42:51 +0000 |
| |
Signed-off-by: Andy Whitcroft <apw@canonical.com> --- scripts/checkpatch.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 52507f6..71655dc 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2833,7 +2833,7 @@ sub process { # Flatten any parentheses and braces while ($dstat =~ s/\([^\(\)]*\)/1/ || $dstat =~ s/\{[^\{\}]*\}/1/ || - $dstat =~ s/\[[^\{\}]*\]/1/) + $dstat =~ s/\[[^\[\]]*\]/1/) { } -- 1.7.5.4
| |