diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-01-09 08:45:28 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-01-31 22:03:53 -0800 |
commit | 636ac8fc9ac210e786fda679ad294c918022d0c5 (patch) | |
tree | da4fcc2499b4f943897103e8852d39ecf924cf11 /pp.c | |
parent | 594a52e669cf40aeb3e1f610fad70e3f919e8e10 (diff) | |
download | perl-636ac8fc9ac210e786fda679ad294c918022d0c5.tar.gz |
5th arg to indicate numeric bitwise overloading
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2227,7 +2227,7 @@ PP(pp_bit_and) PP(pp_nbit_and) { dSP; - tryAMAGICbin_MG(band_amg, AMGf_assign); + tryAMAGICbin_MG(band_amg, AMGf_assign|AMGf_numarg); { dATARGET; dPOPTOPssrl; if (PL_op->op_private & HINT_INTEGER) { @@ -2297,7 +2297,7 @@ PP(pp_nbit_or) const int op_type = PL_op->op_type; tryAMAGICbin_MG((op_type == OP_NBIT_OR ? bor_amg : bxor_amg), - AMGf_assign); + AMGf_assign|AMGf_numarg); { dATARGET; dPOPTOPssrl; if (PL_op->op_private & HINT_INTEGER) { @@ -2515,7 +2515,7 @@ PP(pp_complement) PP(pp_ncomplement) { dSP; - tryAMAGICun_MG(compl_amg, AMGf_numeric); + tryAMAGICun_MG(compl_amg, AMGf_numeric|AMGf_numarg); { dTARGET; dTOPss; if (PL_op->op_private & HINT_INTEGER) { |