summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-08-07 23:58:33 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-08-07 23:58:33 +0000
commit8be7d673a9aa4778529fbf0d355c03a58903e578 (patch)
treebdd2bee022de6128593e13b6cbea9a6500537849 /opcode.pl
parent7dfe3f660cb120466e9c6f9f1b8b1c931d114062 (diff)
downloadperl-8be7d673a9aa4778529fbf0d355c03a58903e578.tar.gz
temporary opcode.pl workaround for ebcdic (suggested by
David J. Fiander <davidf@mks.com> and M.J.T. Guy) p4raw-id: //depot/maint-5.005/perl@1755
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.pl b/opcode.pl
index a97bb160c8..f2ed795fd4 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -189,7 +189,7 @@ for (@ops) {
$argsum |= 64 if $flags =~ /d/; # danger, unknown side effects
$argsum |= 128 if $flags =~ /u/; # defaults to $_
- $flags =~ /([^a-zA-Z])/ or die qq[Opcode "$_" has no class indicator];
+ $flags =~ /([\W\d_])/ or die qq[Opcode "$_" has no class indicator];
$argsum |= $opclass{$1} << 8;
$mul = 4096; # 2 ^ OASHIFT
for $arg (split(' ',$args{$_})) {