diff options
author | David Mitchell <davem@iabyn.com> | 2012-03-30 16:30:26 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-06-13 13:32:50 +0100 |
commit | 2e2e3f36ef0a7bee034eac9575fdb70698beec72 (patch) | |
tree | 182106d03b9f1f08548eb1536423f4e8d4cac4da /t/io/open.t | |
parent | d24ca0c5f11250dcd2552c84a048bda5786ba8d1 (diff) | |
download | perl-2e2e3f36ef0a7bee034eac9575fdb70698beec72.tar.gz |
ensure regex evals report the right location
make sure that PL_curcop is set correctly on entry to a regex code block,
since (unlike a normal eval) there isn't always an initial OP_NEXTSTATE to
cause it to get set. Otherwise, warning messages etc in the first
statement of the code block will appear to come from the wrong place.
Diffstat (limited to 't/io/open.t')
0 files changed, 0 insertions, 0 deletions