summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-26 12:07:50 +0000
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:19:18 +0000
commitfb2f5dcb57b41dc6ca1183fbeb492312ff40ed58 (patch)
treef09c82e66bc81587bb7957963a39f1c5c394b87a /cop.h
parent40ba680a17dc8d6a78964c98884ac1cb18695d8a (diff)
downloadperl-fb2f5dcb57b41dc6ca1183fbeb492312ff40ed58.tar.gz
PUSHFORMAT: don't use implicit args
Make cv and gv explicit parameters of PUSHFORMAT(), rather than just assuming that there are such vars in scope.
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cop.h b/cop.h
index e2d85c1a60..eb9e3bd11b 100644
--- a/cop.h
+++ b/cop.h
@@ -634,7 +634,7 @@ struct block_format {
cx->blk_u16 = 0;
-#define PUSHFORMAT(cx, retop) \
+#define PUSHFORMAT(cx, cv, gv, retop) \
cx->blk_format.cv = cv; \
cx->blk_format.gv = gv; \
cx->blk_format.retop = (retop); \