Newbie accent eradication

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6799 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-07-07 16:18:27 +00:00
parent ef3efba72f
commit a0b0a79f93

View File

@ -532,18 +532,15 @@ sub read_a_line {
$line = '';
while ( my $nextline = <$currentfile> ) {
while ( <$currentfile> ) {
$currentlinenumber++;
chomp $nextline;
chomp;
#
# Continuation
#
if ( substr( ( $line .= $nextline ), -1, 1 ) eq '\\' ) {
$line = substr( $line, 0, -1 );
next;
}
chop $line, next if substr( ( $line .= $_ ), -1, 1 ) eq '\\';
$line =~ s/#.*$//; # Remove Trailing Comments -- result might be a blank line
#