This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_ck_smartmatch needs a dVAR too.
authorNicholas Clark <nick@ccl4.org>
Tue, 16 Oct 2007 08:37:29 +0000 (08:37 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 16 Oct 2007 08:37:29 +0000 (08:37 +0000)
p4raw-id: //depot/perl@32110

op.c

diff --git a/op.c b/op.c
index 3b40d3e..32e2a54 100644 (file)
--- a/op.c
+++ b/op.c
@@ -7026,6 +7026,7 @@ Perl_ck_smartmatch(pTHX_ OP *o)
 OP *
 Perl_ck_sassign(pTHX_ OP *o)
 {
+    dVAR;
     OP * const kid = cLISTOPo->op_first;
     /* has a disposable target? */
     if ((PL_opargs[kid->op_type] & OA_TARGLEX)