Minor cleanup of continuation

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5780 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-01 00:05:42 +00:00
parent 8aceb0e890
commit e8ff0cb961

View File

@ -384,7 +384,7 @@ sub read_a_line {
chomp $nextline;
#
# Check for continuation
# Continuation
#
if ( substr( $nextline, -1, 1 ) eq '\\' ) {
$line .= substr( $nextline, 0, -1 );
@ -392,8 +392,14 @@ sub read_a_line {
}
$line .= $nextline;
next if $line =~ /^\s*$/; # Ignore ( concatenated ) Blank Lines
#
# Ignore ( concatenated ) Blank Lines
#
if ( $line =~ /^\s*$/ ) {
$line = '';
next;
}
#
# Ignore ( concatenated ) lines that are nothing but comments
#