checkpatch: fix continuation detection when handling spacing on operators
[deliverable/linux.git] / scripts / checkpatch.pl
index d80b55a6f89b08ca657984c69001baa12763a076..67b0c9faa32d9f1da19cee2cd7be38895d0bb789 100755 (executable)
@@ -1793,7 +1793,7 @@ sub process {
                                        $c = 'C' if ($elements[$n + 2] =~ /^$;/);
                                        $c = 'B' if ($elements[$n + 2] =~ /^(\)|\]|;)/);
                                        $c = 'O' if ($elements[$n + 2] eq '');
-                                       $c = 'E' if ($elements[$n + 2] =~ /\s*\\$/);
+                                       $c = 'E' if ($elements[$n + 2] =~ /^\s*\\$/);
                                } else {
                                        $c = 'E';
                                }
This page took 0.024488 seconds and 5 git commands to generate.