Subject: [PATCH] Re: Problems compiling bleadperl on Unicos 9
Message-ID: <867l8hy0hx.fsf_-_@tezcatlipoca.algonet.se>
p4raw-id: //depot/perl@7067
+Change 171 on 2000-09-12 by <calle@lysator.liu.se> (Calle Dybedahl)
+
+ - Fixed filename-extracting regexp to allow whitespace between
+ "#" and "line", which the cpp on Unicos 9 produces.
+
Change 170 on 1998/07/05 by <gbarr@pobox.com> (Graham Barr)
Fixed three problems reported by Hans Mulder for NeXT
$pat = '^/\*\s+(.+)\s+\d+\s*:\s+\*/';
}
else {
- $pat = '^#(?:line)?\s*\d+\s+"([^"]+)"';
+ $pat = '^#\s*(?:line)?\s*\d+\s+"([^"]+)"';
}
while(<CPPO>) {
if ($^O eq 'os2' or $^O eq 'MSWin32') {