summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-05-12 22:17:40 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-05-12 22:17:40 +0000
commit12bd6ede29d13c215438daf78d15695e487886b0 (patch)
tree78ba457776b01252a85ffb3957bce4289c26f607 /pad.c
parent5afb0a623b9b99b8da0168b2f2a3030d9165d7ff (diff)
downloadperl-12bd6ede29d13c215438daf78d15695e487886b0.tar.gz
move PL_in_my and PL_in_my_stash into the PL_parser struct
p4raw-id: //depot/perl@31203
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pad.c b/pad.c
index 1e0217c7b0..51592d0937 100644
--- a/pad.c
+++ b/pad.c
@@ -550,7 +550,7 @@ Perl_pad_check_dup(pTHX_ const char *name, bool is_our, const HV *ourstash)
break; /* "our" masking "our" */
Perl_warner(aTHX_ packWARN(WARN_MISC),
"\"%s\" variable %s masks earlier declaration in same %s",
- (is_our ? "our" : PL_in_my == KEY_my ? "my" : "state"),
+ (is_our ? "our" : PL_parser->in_my == KEY_my ? "my" : "state"),
name,
(COP_SEQ_RANGE_HIGH(sv) == PAD_MAX ? "scope" : "statement"));
--off;