This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: regpiece: swap order of conditionals
authorKarl Williamson <khw@cpan.org>
Mon, 5 Oct 2020 04:15:17 +0000 (22:15 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 12 Oct 2020 15:45:47 +0000 (09:45 -0600)
commit2f9be6e9825f6c192746c53107bbffda7e74bbc5
treebfd8b12010882b375f92c07483b6d966328de2f1
parent01f72ca30b1f3af6817d4c6c6157af7bd14e46a2
regcomp.c: regpiece: swap order of conditionals

Its a bit more clearer to test the 0 case before the 1 case, and by
doing so it becomes visually easier to compare and contrast the the two
cases.
regcomp.c