diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-04-17 20:11:49 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-04-17 20:11:49 +0100 |
commit | 47550813adf9ff4023595a3d439a9080e8fa9040 (patch) | |
tree | bed592c9b0b741c08ea2271cecdb978285531ba6 /hv.c | |
parent | 651b8f1ab1a3f46ec28299b662077c511e8c2483 (diff) | |
download | perl-47550813adf9ff4023595a3d439a9080e8fa9040.tar.gz |
Fix RT #74290 - regression for labels immediately before string evals.
Fix location identified by Father Chrysostomos, who also offered a patch, but
this patch is more efficient, as it avoids any allocation. Test code based on
his test example.
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2972,6 +2972,8 @@ Perl_refcounted_he_free(pTHX_ struct refcounted_he *he) { } } +/* pp_entereval is aware that labels are stored with a key ':' at the top of + the linked list. */ const char * Perl_fetch_cop_label(pTHX_ struct refcounted_he *const chain, STRLEN *len, U32 *flags) { |