projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b888298
)
Add multi-line flag to regex that needs it. Backpatch to 8.2. Fix from Andreas Zeugsw...
author
Andrew Dunstan
<andrew@dunslane.net>
Tue, 15 Apr 2008 16:28:25 +0000
(16:28 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Tue, 15 Apr 2008 16:28:25 +0000
(16:28 +0000)
src/tools/msvc/Project.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/msvc/Project.pm
b/src/tools/msvc/Project.pm
index afa733a71a21a53494361260495fafb416e325ff..22beaf720f25d22327170adc847867e8af709cb5 100644
(file)
--- a/
src/tools/msvc/Project.pm
+++ b/
src/tools/msvc/Project.pm
@@
-259,7
+259,8
@@
sub AddDir
}
# Match rules that pull in source files from different directories
- my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$};
+ # example: pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
+ my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$}m;
while ($mf =~ m{$replace_re}m)
{
my $match = $1;