1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

Undo last change and left align enums.

This commit is contained in:
Russ Rowan 2006-01-08 16:57:10 -05:00
parent b2cbbf1139
commit 0f8f5b0635

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+\*\/$/$1id[$2]::\n$1 $3/;
$_ =~ s/\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/id[$1]::\n $2/;
$found = 'sorta'; $gotone = $.;
}
$gotone = undef if $gotone and $gotone < $.;