regcomp.c: Simplify ANYOFM node generation
authorKarl Williamson <khw@cpan.org>
Tue, 27 Nov 2018 18:05:34 +0000 (11:05 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 26 Dec 2018 19:50:37 +0000 (12:50 -0700)
commitae0d525dea0ebf99da4cd951f20eab55dc37c02c
treedf4a1099dbf6eb2f1ce53293eb2130431377aaaf
parent72823d10f21676ddf0ccde075ac280a9a78ee006
regcomp.c: Simplify ANYOFM node generation

This refactors the code somewhat.  When we discover a deal-breaker code
point we can just break out of the loop (using a goto) instead of
setting a flag, continuing, and later testing it.
regcomp.c