Fix indentation. Quote a brace '{' so that vi won't be fooled by it.
Showing the changes to scripts/kernel-doc (1 of 1 file). Show all
Unified · Split
| @@ -1779,7 +1779,7 @@ sub process_file($) { · 1778 unmodified lines | |||
| 1779 | $prototype = ""; | 1779 | $prototype = ""; |
| 1780 | $state = 3; | 1780 | $state = 3; |
| 1781 | $brcount = 0; | 1781 | $brcount = 0; |
| 1782 | # print STDERR "end of doc comment, looking for prototype\n"; | 1782 | # print STDERR "end of doc comment, looking for prototype\n"; |
| 1783 | } elsif (/$doc_content/) { | 1783 | } elsif (/$doc_content/) { |
| 1784 | # miguel-style comment kludge, look for blank lines after | 1784 | # miguel-style comment kludge, look for blank lines after |
| 1785 | # @parameter line to signify start of description | 1785 | # @parameter line to signify start of description |
| @@ -1796,7 +1796,7 @@ sub process_file($) { · 10 unmodified lines | |||
| 1796 | print STDERR "Warning(${file}:$.): bad line: $_"; | 1796 | print STDERR "Warning(${file}:$.): bad line: $_"; |
| 1797 | ++$warnings; | 1797 | ++$warnings; |
| 1798 | } | 1798 | } |
| 1799 | } elsif ($state == 3) { # scanning for function { (end of prototype) | 1799 | } elsif ($state == 3) { # scanning for function '{' (end of prototype) |
| 1800 | if ($decl_type eq 'function') { | 1800 | if ($decl_type eq 'function') { |
| 1801 | process_state3_function($_, $file); | 1801 | process_state3_function($_, $file); |
| 1802 | } else { | 1802 | } else { |