Re: Not OK 13881
authorAndreas König <a.koenig@mind.de>
Tue, 25 Dec 2001 07:33:23 +0000 (08:33 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 25 Dec 2001 15:45:52 +0000 (15:45 +0000)
Message-ID: <m3bsgnajws.fsf@anima.de>

p4raw-id: //depot/perl@13882

op.c

diff --git a/op.c b/op.c
index efb99e0..ed199b2 100644 (file)
--- a/op.c
+++ b/op.c
@@ -2044,7 +2044,7 @@ S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp)
               type == OP_RV2AV ||
               type == OP_RV2HV) { /* XXX does this let anything illegal in? */
       if (cUNOPo->op_first->op_type != OP_GV) { /* MJD 20011224 */
-           yyerror(form("Can't declare %s in my", OP_DESC(o)));
+           yyerror(Perl_form(aTHX_ "Can't declare %s in my", OP_DESC(o)));
         }
         if (attrs) {
             GV *gv = cGVOPx_gv(cUNOPo->op_first);