Commit 76dd3e7b authored by Mike Rapoport's avatar Mike Rapoport Committed by Jonathan Corbet

kernel-doc: kill trailing whitespace

Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 1bb37a35
...@@ -361,7 +361,7 @@ my $doc_com = '\s*\*\s*'; ...@@ -361,7 +361,7 @@ my $doc_com = '\s*\*\s*';
my $doc_com_body = '\s*\* ?'; my $doc_com_body = '\s*\* ?';
my $doc_decl = $doc_com . '(\w+)'; my $doc_decl = $doc_com . '(\w+)';
# @params and a strictly limited set of supported section names # @params and a strictly limited set of supported section names
my $doc_sect = $doc_com . my $doc_sect = $doc_com .
'\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)'; '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)';
my $doc_content = $doc_com_body . '(.*)'; my $doc_content = $doc_com_body . '(.*)';
my $doc_block = $doc_com . 'DOC:\s*(.*)?'; my $doc_block = $doc_com . 'DOC:\s*(.*)?';
...@@ -751,7 +751,7 @@ sub output_blockhead_rst(%) { ...@@ -751,7 +751,7 @@ sub output_blockhead_rst(%) {
# #
# Apply the RST highlights to a sub-block of text. # Apply the RST highlights to a sub-block of text.
# #
sub highlight_block($) { sub highlight_block($) {
# The dohighlight kludge requires the text be called $contents # The dohighlight kludge requires the text be called $contents
my $contents = shift; my $contents = shift;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment