mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Don't underline leading comment lines that contain ::.
This commit is contained in:
parent
3529b35da0
commit
97b0635d1e
@ -28,8 +28,12 @@ while (<FILEIN>)
|
||||
print FILEOUT "\n\n" if $start;
|
||||
$_ = $1;
|
||||
if ($_ =~ s/\s*\*\/$//) { $found = 'sorta'; } else { $found = $.; }
|
||||
my $dash; for (my $x = 0; $x < length($_); $x++) { $dash .= '-'; }
|
||||
$_ = "$_\n$dash\n\n";
|
||||
if ($_ =~ /::/) { $_ = "$_\n\n"; }
|
||||
else
|
||||
{
|
||||
my $dash; for (my $x = 0; $x < length($_); $x++) { $dash .= '-'; }
|
||||
$_ = "$_\n$dash\n\n";
|
||||
}
|
||||
$first = 1;
|
||||
}
|
||||
elsif ($_ =~ /\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/)
|
||||
|
Loading…
Reference in New Issue
Block a user