diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-01-07 09:25:16 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-01-07 09:25:16 +0000 |
commit | a77e643ad0ddc577b22643ae4113c389b2dab048 (patch) | |
tree | ac5e07a0d50d7bfa6e4b7d1025c7a61bbf016829 /doop.c | |
parent | 049737a6f0a706e47a848e799c32df4d07613448 (diff) | |
download | perl-a77e643ad0ddc577b22643ae4113c389b2dab048.tar.gz |
Hardcoded numerical flag masks. Bad.
p4raw-id: //depot/perl@22084
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -615,7 +615,9 @@ Perl_do_trans(pTHX_ SV *sv) DEBUG_t( Perl_deb(aTHX_ "2.TBL\n")); - switch (PL_op->op_private & ~hasutf & 63) { + switch (PL_op->op_private & ~hasutf & ( + OPpTRANS_FROM_UTF|OPpTRANS_TO_UTF|OPpTRANS_IDENTICAL| + OPpTRANS_SQUASH|OPpTRANS_DELETE|OPpTRANS_COMPLEMENT)) { case 0: if (hasutf) return do_trans_simple_utf8(sv); |