From 26fd42fcd2b255fa1a544042cbd5e0f0c9e9bbec Mon Sep 17 00:00:00 2001 From: Rich Walker Date: Sun, 1 May 2005 08:59:26 -0700 Subject: [PATCH] --- yaml --- r: 782 b: refs/heads/master c: c73894c1e1160296552d8713e88bc76eac43beba h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/kernel-doc | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 66fde9443284..32249231cb69 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e +refs/heads/master: c73894c1e1160296552d8713e88bc76eac43beba diff --git a/trunk/scripts/kernel-doc b/trunk/scripts/kernel-doc index bc5ef02260ce..62bf9fe50677 100755 --- a/trunk/scripts/kernel-doc +++ b/trunk/scripts/kernel-doc @@ -553,15 +553,20 @@ sub output_section_xml(%) { # print out each section $lineprefix=" "; foreach $section (@{$args{'sectionlist'}}) { - print "\n $section\n \n"; + print "\n"; + print "$section\n"; if ($section =~ m/EXAMPLE/i) { - print "\n"; + print "\n"; + } else { + print "\n"; } output_highlight($args{'sections'}{$section}); if ($section =~ m/EXAMPLE/i) { - print "\n"; + print "\n"; + } else { + print "\n"; } - print " \n\n"; + print "\n"; } }