This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Refactor out a switch statement
authorKarl Williamson <public@khwilliamson.com>
Mon, 31 Dec 2012 17:21:37 +0000 (10:21 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 31 Dec 2012 18:03:29 +0000 (11:03 -0700)
commit35d3207456a60ae4ec3eac2e00027da509f312d2
treeda813b8a6e2899b999ed998ceee4c8822ddff5fb
parentf16cee58db950a496b57c484182664be6e57ae9a
regcomp.c: Refactor out a switch statement

Previous work had collapsed most of the cases of this switch.  This
removes the entire switch, allowing more of the logic to be collapsed
into single code paths.  Most of this commit is just moving things
around; the heavy lifting has been done in previous commits.
regcomp.c
t/porting/diag.t