projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
049737a
)
Hardcoded numerical flag masks. Bad.
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 7 Jan 2004 09:25:16 +0000
(09:25 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 7 Jan 2004 09:25:16 +0000
(09:25 +0000)
p4raw-id: //depot/perl@22084
doop.c
patch
|
blob
|
history
diff --git
a/doop.c
b/doop.c
index
9ca4057
..
dc64c45
100644
(file)
--- a/
doop.c
+++ b/
doop.c
@@
-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);