diff options
author | Hugo van der Sanden <hv@crypt.org> | 2020-09-15 14:02:54 +0100 |
---|---|---|
committer | Hugo van der Sanden <hv@crypt.org> | 2020-09-22 12:51:47 +0100 |
commit | f4cd5e29bc15621f2ab8fc5d7de0e68e62d43999 (patch) | |
tree | 4fb9ff055138e7e0431c6916e9fcfc7cdd071116 /Configure | |
parent | bec07c3af574f0f22a318c6273a2c4f29afc1251 (diff) | |
download | perl-f4cd5e29bc15621f2ab8fc5d7de0e68e62d43999.tar.gz |
[gh18096] assume worst-case for GOSUBs we don't analyse
During study_chunk, under various conditions we avoid recursing into
a GOSUB. But we must avoid giving the enclosing scope the idea that
this GOSUB would match only an empty string, since that could trigger
wrong optimizations (eg CURLYX => CURLYM in the ticket).
So we mark the construct as infinite, as in the code branch where we
_do_ recurse into it.
Diffstat (limited to 'Configure')
0 files changed, 0 insertions, 0 deletions