develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [PATCH] Cleanup of the regexp API

Thread Previous
April 24, 2007 01:05
Re: [PATCH] Cleanup of the regexp API
Message ID:
On 4/24/07, Ævar Arnfjörð Bjarmason <> wrote:
> On 4/23/07, Ævar Arnfjörð Bjarmason <> wrote:
> > A cleanup patch for the public regexp API & docs.
> dmq reported a warning and error on VC7, the warning was a mismatch
> between an argument name in proto/declaration (fixed in the attached).
> The error results from "(*package)" in the callback struct expanding
> to to Perl_package due to C<#define package Perl_package> in embed.h
> resulting in a:
> \pp_hot.c(1182) : error C2039: 'Perl_package' : is not a member of
> 'regexp_engine
> Since we've both gone to sleep the fix for that will have to wait.

IMO we should probably just rename it re_package or something. (Not on
my computer so i havnt looked at the patch yet so maybe you already
did that :-))


perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About