diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-08-26 19:37:29 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-08-26 19:37:29 +0000 |
commit | 26f600bce139656723472a5e845906a60241815e (patch) | |
tree | e3858bd733a759103915fa5f3a90c49ecd8cb736 | |
parent | 5dd42e15760f2e77ab3979bfe1b6aafaa9ff1227 (diff) | |
download | perl-26f600bce139656723472a5e845906a60241815e.tar.gz |
Change the internal prototype of the pop() and shift() builtins
to (;\@), to reflect that their array argument is optional.
p4raw-id: //depot/perl@20910
-rw-r--r-- | opcode.h | 4 | ||||
-rwxr-xr-x | opcode.pl | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1625,8 +1625,8 @@ EXT U32 PL_opargs[] = { 0x00004805, /* anonhash */ 0x05326801, /* splice */ 0x0004691d, /* push */ - 0x00007604, /* pop */ - 0x00007604, /* shift */ + 0x00017604, /* pop */ + 0x00017604, /* shift */ 0x0004691d, /* unshift */ 0x0005a801, /* sort */ 0x00004809, /* reverse */ @@ -647,8 +647,8 @@ anonhash anonymous hash ({}) ck_fun ms@ L splice splice ck_fun m@ A S? S? L push push ck_fun imsT@ A L -pop pop ck_shift s% A -shift shift ck_shift s% A +pop pop ck_shift s% A? +shift shift ck_shift s% A? unshift unshift ck_fun imsT@ A L sort sort ck_sort m@ C? L reverse reverse ck_fun mt@ L |