History

[PATCH] kernel-doc: script cleanups

Fix indentation. Quote a brace '{' so that vi won't be fooled by it.

Randy Dunlap committed 20 years ago

Commit 232acbc1 parent 05189491 file · +2 −2Browse files

Showing the changes to scripts/kernel-doc (1 of 1 file). Show all

Unified · Split

scripts/kernel-doc+2−2
@@ -1779,7 +1779,7 @@ sub process_file($) { · 1778 unmodified lines
17791779 $prototype = "";
17801780 $state = 3;
17811781 $brcount = 0;
1782−# print STDERR "end of doc comment, looking for prototype\n";
1782+# print STDERR "end of doc comment, looking for prototype\n";
17831783 } elsif (/$doc_content/) {
17841784 # miguel-style comment kludge, look for blank lines after
17851785 # @parameter line to signify start of description
@@ -1796,7 +1796,7 @@ sub process_file($) { · 10 unmodified lines
17961796 print STDERR "Warning(${file}:$.): bad line: $_";
17971797 ++$warnings;
17981798 }
1799− } elsif ($state == 3) { # scanning for function { (end of prototype)
1799+ } elsif ($state == 3) { # scanning for function '{' (end of prototype)
18001800 if ($decl_type eq 'function') {
18011801 process_state3_function($_, $file);
18021802 } else {