summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-02 10:08:04 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-02 10:08:04 +0000
commitfc15ae8fb67c31ee845fb33ce00b1c24c4c1a908 (patch)
tree8306f0557f5c1b6c97046a2464316004f44554d3 /toke.c
parent2ee88f01016d2541e1f47423d3e348014e311bc8 (diff)
downloadperl-fc15ae8fb67c31ee845fb33ce00b1c24c4c1a908.tar.gz
Abstract all the accesses to cop_arybase (apart from ByteLoader)
p4raw-id: //depot/perl@27671
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index c7a9d91ad4..f6e21a2614 100644
--- a/toke.c
+++ b/toke.c
@@ -4555,7 +4555,7 @@ Perl_yylex(pTHX)
/* This kludge not intended to be bulletproof. */
if (PL_tokenbuf[1] == '[' && !PL_tokenbuf[2]) {
yylval.opval = newSVOP(OP_CONST, 0,
- newSViv(PL_compiling.cop_arybase));
+ newSViv(CopARYBASE_get(&PL_compiling)));
yylval.opval->op_private = OPpCONST_ARYBASE;
TERM(THING);
}