diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-01-03 17:55:53 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-01-31 22:03:50 -0800 |
commit | 7dd648412d5aa4efd8fb68cc6d58d99d867af2a2 (patch) | |
tree | 83216b9f26a37457d1d88f6d3d39a9372bea1266 /overload.c | |
parent | 26b17dd21e4aedef224e009510eebb11d2256d3a (diff) | |
download | perl-7dd648412d5aa4efd8fb68cc6d58d99d867af2a2.tar.gz |
Add overload types for string-specifc bitops
Diffstat (limited to 'overload.c')
-rw-r--r-- | overload.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/overload.c b/overload.c index cd28df4c93..3cf64c7e40 100644 --- a/overload.c +++ b/overload.c @@ -65,13 +65,20 @@ static const U8 PL_AMG_namelens[NofAMmeth] = { 4, 2, 3, + 3, + 4, 2, 3, + 3, + 4, 2, 3, + 3, + 4, 4, 4, 2, + 3, 6, 4, 4, @@ -141,13 +148,20 @@ static const char * const PL_AMG_names[NofAMmeth] = { "(>>=", /* rshift_ass */ "(&", /* band */ "(&=", /* band_ass */ + "(&.", /* sband */ + "(&.=", /* sband_ass */ "(|", /* bor */ "(|=", /* bor_ass */ + "(|.", /* sbor */ + "(|.=", /* sbor_ass */ "(^", /* bxor */ "(^=", /* bxor_ass */ + "(^.", /* sbxor */ + "(^.=", /* sbxor_ass */ "(<=>", /* ncmp */ "(cmp", /* scmp */ "(~", /* compl */ + "(~.", /* scompl */ "(atan2", /* atan2 */ "(cos", /* cos */ "(sin", /* sin */ |