Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2022-05-12 19:17:30 +0000
committerTom Lane2022-05-12 19:17:30 +0000
commit23e7b38bfe396f919fdb66057174d29e17086418 (patch)
tree335c3962ef8afe0f6193d0413dbc51642276b147 /src/tools/msvc/Project.pm
parent93909599cdba64c8759d646983c0a4ef93de1e50 (diff)
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
Diffstat (limited to 'src/tools/msvc/Project.pm')
-rw-r--r--src/tools/msvc/Project.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm
index d39c502f30a..570bab563a7 100644
--- a/src/tools/msvc/Project.pm
+++ b/src/tools/msvc/Project.pm
@@ -76,11 +76,11 @@ sub AddFiles
# name but a different file extension and add those files too.
sub FindAndAddAdditionalFiles
{
- my $self = shift;
+ my $self = shift;
my $fname = shift;
$fname =~ /(.*)(\.[^.]+)$/;
my $filenoext = $1;
- my $fileext = $2;
+ my $fileext = $2;
# For .c files, check if either a .l or .y file of the same name
# exists and add that too.
@@ -161,7 +161,7 @@ sub AddReference
while (my $ref = shift)
{
- if (! grep { $_ eq $ref} @{ $self->{references} })
+ if (!grep { $_ eq $ref } @{ $self->{references} })
{
push @{ $self->{references} }, $ref;
}
@@ -181,7 +181,7 @@ sub AddLibrary
$lib = '"' . $lib . """;
}
- if (! grep { $_ eq $lib} @{ $self->{libraries} })
+ if (!grep { $_ eq $lib } @{ $self->{libraries} })
{
push @{ $self->{libraries} }, $lib;
}
@@ -199,7 +199,7 @@ sub AddIncludeDir
foreach my $inc (split(/;/, $incstr))
{
- if (! grep { $_ eq $inc} @{ $self->{includes} })
+ if (!grep { $_ eq $inc } @{ $self->{includes} })
{
push @{ $self->{includes} }, $inc;
}