summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-05-05 08:11:21 -0600
committerKarl Williamson <public@khwilliamson.com>2012-06-17 11:35:05 -0600
commit937b2e03e541820ee46da2b99aa38321dddcc776 (patch)
treea0f5a4b5aa3a88c1aa858963994208aea1d783f8 /pp_hot.c
parent67240697e05c5f3813fe1d93bac503c45fa81613 (diff)
downloadperl-937b2e03e541820ee46da2b99aa38321dddcc776.tar.gz
pp_hot.c: Combine macro calls
Replace a combination of macro calls with a single one that means the same thing
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index ef9e840b45..e2f76ba377 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1726,7 +1726,7 @@ Perl_do_readline(pTHX)
}
}
for (t1 = SvPVX_const(sv); *t1; t1++)
- if (!isALPHA(*t1) && !isDIGIT(*t1) &&
+ if (!isALNUMC(*t1) &&
strchr("$&*(){}[]'\";\\|?<>~`", *t1))
break;
if (*t1 && PerlLIO_lstat(SvPVX_const(sv), &PL_statbuf) < 0) {