Fix problems with perl 5.8.8 as distributed with current MinGW.

* src/tools/afblue.pl: Work-around for Perl bug #63402.
(string_re): Avoid `possessive quantifiers', which have been
introduced in Perl version 5.10.
This commit is contained in:
Werner Lemberg 2014-02-05 15:40:47 +01:00
parent 741f736662
commit 6dce136937
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2014-02-05 Werner Lemberg <wl@gnu.org>
Fix problems with perl 5.8.8 as distributed with current MinGW.
* src/tools/afblue.pl: Work-around for Perl bug #63402.
(string_re): Avoid `possessive quantifiers', which have been
introduced in Perl version 5.10.
2014-02-04 Werner Lemberg <wl@gnu.org>
Fix compilation with MinGW.

View File

@ -71,7 +71,7 @@ my $whitespace_only_re = qr/ ^ \s* $ /x;
# [<ws>] '"' <string> '"' [<ws>] '\n' (<string> doesn't contain newlines)
my $string_re = qr/ ^ \s*
" ( (?: [^"\\]++ | \\. )*+ ) "
" ( (?> (?: (?> [^"\\]+ ) | \\. )* ) ) "
\s* $ /x;
# [<ws>] '{' <block> '}' [<ws>] '\n' (<block> can contain newlines)