This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: set local flag in pass1 of charclass inversion
authorKarl Williamson <public@khwilliamson.com>
Wed, 4 Jul 2012 19:42:15 +0000 (13:42 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 19 Jul 2012 15:39:07 +0000 (09:39 -0600)
commit520939baa9d3cdd718aefcea37348e7dea62a7a4
tree7644ca56c967986c5fd52d9124ae70d39dac3825
parent570fcd08b0427c53a98fb13a4264ba6b76f5900f
regcomp.c: set local flag in pass1 of charclass inversion

Previously, this flag was not looked at in pass 1, but future commits
will require it to be.  The regnode is not actually allocated in pass1,
so set a local variable with the value, and set the flag in the regnode
after everything affecting the flag is done.
regcomp.c