diff options
author | Karl Williamson <khw@cpan.org> | 2020-05-21 11:30:13 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-07 14:50:36 -0600 |
commit | 8ff93f9b9a682eaed6e2eaf68bd766cfaa3e3cfd (patch) | |
tree | a58f1a530b1c2b71da6722d283db9b2032075560 /regcomp.c | |
parent | ad06b7d50279bc74b53b6034e061808c7408017a (diff) | |
download | perl-8ff93f9b9a682eaed6e2eaf68bd766cfaa3e3cfd.tar.gz |
regcomp.c: Move some code to within a block
This code is irrelevant unless the condition of the block immediately
before it is TRUE, so move it to within that block.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19345,10 +19345,9 @@ S_optimize_regclass(pTHX_ single_range = TRUE; } invlist_iterfinish(cp_list); - } - /* If we know at compile time that this matches every possible code point, - * any run-time dependencies don't matter */ + /* If we know at compile time that this matches every possible code + * point, any run-time dependencies don't matter */ if (start[0] == 0 && end[0] == UV_MAX) { if (*invert) { goto return_OPFAIL; @@ -19357,6 +19356,7 @@ S_optimize_regclass(pTHX_ goto return_SANY; } } + } /* Similarly, for /l posix classes, if both a class and its complement * match, any run-time dependencies don't matter */ |