From: Randy Dunlap Date: Sun, 25 Jun 2006 12:47:48 +0000 (-0700) Subject: [PATCH] kernel-doc: script cleanups X-Git-Tag: v2.6.18-rc1~990 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=232acbcf5304c29f5bb03b0dddeaefd0f98ef45e;p=linux-2.6 [PATCH] kernel-doc: script cleanups Fix indentation. Quote a brace '{' so that vi won't be fooled by it. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/kernel-doc b/scripts/kernel-doc index fc0835bf65..21f2f3fee7 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1779,7 +1779,7 @@ sub process_file($) { $prototype = ""; $state = 3; $brcount = 0; -# print STDERR "end of doc comment, looking for prototype\n"; +# print STDERR "end of doc comment, looking for prototype\n"; } elsif (/$doc_content/) { # miguel-style comment kludge, look for blank lines after # @parameter line to signify start of description @@ -1796,7 +1796,7 @@ sub process_file($) { print STDERR "Warning(${file}:$.): bad line: $_"; ++$warnings; } - } elsif ($state == 3) { # scanning for function { (end of prototype) + } elsif ($state == 3) { # scanning for function '{' (end of prototype) if ($decl_type eq 'function') { process_state3_function($_, $file); } else {