diff options
author | David Mitchell <davem@iabyn.com> | 2015-12-26 12:07:50 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 09:19:18 +0000 |
commit | fb2f5dcb57b41dc6ca1183fbeb492312ff40ed58 (patch) | |
tree | f09c82e66bc81587bb7957963a39f1c5c394b87a /cop.h | |
parent | 40ba680a17dc8d6a78964c98884ac1cb18695d8a (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); \ |