summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-08-26 19:37:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-08-26 19:37:29 +0000
commit26f600bce139656723472a5e845906a60241815e (patch)
treee3858bd733a759103915fa5f3a90c49ecd8cb736 /opcode.pl
parent5dd42e15760f2e77ab3979bfe1b6aafaa9ff1227 (diff)
downloadperl-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
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcode.pl b/opcode.pl
index 5a3beed671..e13d14de25 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -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