X-Git-Url: http://git.projectaon.org/?a=blobdiff_plain;f=common%2Fscripts%2Fgblint.pl;h=827a561bb004bcff2a09c8dc14cc768d9dfab483;hb=6df1169b0e3e8638309244e672fb9eb23fec0433;hp=85e5ced376f3c945aa1c2c5c852c7a6a3f2852a6;hpb=101f23830f4fcc4a101c287db5b1b750e53a91a8;p=project-aon.git diff --git a/common/scripts/gblint.pl b/common/scripts/gblint.pl index 85e5ced..827a561 100755 --- a/common/scripts/gblint.pl +++ b/common/scripts/gblint.pl @@ -235,7 +235,7 @@ while( my $line = <> ) { # ellipsis if( $line =~ /(\.\s*\.(\s*\.)?)/ ) { &printError( "ne", $currentSection, $lineNumber, "possible malformed ellipsis", "$1", " or " ); } - if( $line =~ m{([[:space:]])} || $line =~ m{([[:space:]])} ) { &printError( "ne", $currentSection, $lineNumber, " with extraneous surrounding space", "$1", "" ); } + if( $line =~ m{([[:space:]])}) { &printError( "ne", $currentSection, $lineNumber, " with extraneous surrounding space", "$1", "" ); } if( $line =~ m{([^>])()} ) { &printError( "ne", $currentSection, $lineNumber, "possible used in place of ", "$1$2", "$1" ); } if( $line =~ m{(>)} ) { &printError( "ne", $currentSection, $lineNumber, "possible used in place of ", "$1", ">" ); } @@ -299,7 +299,7 @@ while( my $line = <> ) { } ##### Others - if( $line =~ m{