diff options
author | Zefram <zefram@fysh.org> | 2011-09-09 23:27:16 +0100 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2011-09-09 23:30:02 +0100 |
commit | e1dccc0d34a90e3511bfed596be9d78128ca7ee7 (patch) | |
tree | 1e72ad2098f66ac1c59debfc46c00d1013fc0a9f /toke.c | |
parent | 0b31f5359876e6c0b203006714db218d7b441cd1 (diff) | |
download | perl-e1dccc0d34a90e3511bfed596be9d78128ca7ee7.tar.gz |
remove index offsetting ($[)
$[ remains as a variable. It no longer has compile-time magic.
At runtime, it always reads as zero, accepts a write of zero, but dies
on writing any other value.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -6023,14 +6023,6 @@ Perl_yylex(pTHX) PREREF('$'); } - /* This kludge not intended to be bulletproof. */ - if (PL_tokenbuf[1] == '[' && !PL_tokenbuf[2]) { - pl_yylval.opval = newSVOP(OP_CONST, 0, - newSViv(CopARYBASE_get(&PL_compiling))); - pl_yylval.opval->op_private = OPpCONST_ARYBASE; - TERM(THING); - } - d = s; { const char tmp = *s; |