diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2013-12-23 02:11:29 -0500 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-12-23 08:25:08 -0800 |
commit | e8f91c91cc7c3a4a35c08d16f350eabe4852cdf4 (patch) | |
tree | 5b7a8a4380ed25dc73dffc08887a74d0794e7925 /op.h | |
parent | 8c74b41425572faeb638f1269025b59d0785794f (diff) | |
download | perl-e8f91c91cc7c3a4a35c08d16f350eabe4852cdf4.tar.gz |
[perl #115736] fix undocumented param from newATTRSUB_flags
flags param was poorly designed and didn't have a formal api. Replace it
with the bool it really is. See #115736 for details.
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1022,7 +1022,8 @@ type. #define OP_TYPE_IS(o, type) ((o) && (o)->op_type == (type)) -#define newSUB(f, o, p, b) Perl_newATTRSUB(aTHX_ (f), (o), (p), NULL, (b)) +#define newATTRSUB(f, o, p, a, b) Perl_newATTRSUB_x(aTHX_ f, o, p, a, b, FALSE) +#define newSUB(f, o, p, b) newATTRSUB((f), (o), (p), NULL, (b)) #ifdef PERL_MAD # define MAD_NULL 1 |