1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Don't left align enums.

This commit is contained in:
Russ Rowan 2006-01-08 16:46:46 -05:00
parent 65c007d326
commit b2cbbf1139

View File

@ -37,7 +37,7 @@ while (<FILEIN>)
elsif ($_ =~ /\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/)
{
print FILEOUT "\n" if $gotone;
$_ =~ s/\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/id[$1]::\n $2/;
$_ =~ s/(\s*)([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/$1id[$2]::\n$1 $3/;
$found = 'sorta'; $gotone = $.;
}
$gotone = undef if $gotone and $gotone < $.;