Drop unused argument.
Spider Boardman [Thu, 31 Aug 2000 16:10:15 +0000 (12:10 -0400)]
Subject: Re: [ID 20000831.034] overload::constant and number of arguments.
Message-Id: <200008312010.QAA20392@leggy.zk3.dec.com>

p4raw-id: //depot/perl@6972

toke.c

diff --git a/toke.c b/toke.c
index a4f95a7..329d55f 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -5742,13 +5742,12 @@ S_new_constant(pTHX_ char *s, STRLEN len, const char *key, SV *sv, SV *pv,
     SAVETMPS;
     
     PUSHMARK(SP) ;
-    EXTEND(sp, 4);
+    EXTEND(sp, 3);
     if (pv)
        PUSHs(pv);
     PUSHs(sv);
     if (pv)
        PUSHs(typesv);
-    PUSHs(cv);
     PUTBACK;
     call_sv(cv, G_SCALAR | ( PL_in_eval ? 0 : G_EVAL));