This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #122671] Many warnings in regcomp.c can occur twice
authorKarl Williamson <khw@cpan.org>
Tue, 2 Sep 2014 02:00:01 +0000 (20:00 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 7 Sep 2014 03:12:05 +0000 (21:12 -0600)
commit499333dc7a261e5b3794e032f578b461bd895084
tree1a42d4fb1ce2d58f023d2b62d96c5ed4418803f6
parent3da4c246d54e1970c6c140305135aea1f1745fbd
PATCH: [perl #122671] Many warnings in regcomp.c can occur twice

This solves the problem by moving the warnings to be output only in
pass2 of compilation.  The problem arises because almost all of pass1
can be repeated under certain circumstances described in the ticket and
the added comments of this patch.
pod/perldelta.pod
regcomp.c
t/lib/warnings/regcomp
t/re/reg_mesg.t