Subject: | Inline::C::ParseRegExp doesnot work with perl-5.8.4 |
Inline::C::ParseRegExp doesnot pass syntax check because of recent changes in perl-5.8.4. This was reported to p5p and inline mailing lists. Please see for details:
http://www.nntp.perl.org/group/perl.inline/2273
http://www.nntp.perl.org/group/perl.inline/2274
--
Alexey Tourbin
ALT Linux Team
--- Inline-0.44/C/lib/Inline/C/ParseRegExp.pm- 2002-11-04 21:39:52 +0000
+++ Inline-0.44/C/lib/Inline/C/ParseRegExp.pm 2004-05-15 17:14:19 +0000
@@ -21,9 +21,9 @@ sub code {
my $RE_comment_Cpp = q{(?:\/\*(?:(?!\*\/)[\s\S])*\*\/|\/\/[^\n]*\n)};
my $RE_quoted = (q{(?:(?:\")(?:[^\\\"]*(?:\\.[^\\\"]*)*)(?:\")}
.q{|(?:\')(?:[^\\\']*(?:\\.[^\\\']*)*)(?:\'))});
- our $RE_balanced_brackets =
+ our $RE_balanced_brackets; $RE_balanced_brackets =
qr'(?:[{]((?:(?>[^{}]+)|(??{$RE_balanced_brackets}))*)[}])';
- our $RE_balanced_parens =
+ our $RE_balanced_parens; $RE_balanced_parens =
qr'(?:[(]((?:(?>[^()]+)|(??{$RE_balanced_parens}))*)[)])';
# First, we crush out anything potentially confusing.