summaryrefslogtreecommitdiff
path: root/dquote_static.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-29 20:51:00 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-31 11:11:58 -0700
commit0eb30aebe20a48d634d4e484bc9e6005dffc1420 (patch)
tree589cc8865a3cb7728dc334a20bd41448dd563b88 /dquote_static.c
parent8a2bca12c113fc829e4af2bb42350a733a5ed773 (diff)
downloadperl-0eb30aebe20a48d634d4e484bc9e6005dffc1420.tar.gz
Change core calls of isALNUM() to isWORDCHAR()
The latter is more clearly named to indicate it includes the underscore.
Diffstat (limited to 'dquote_static.c')
-rw-r--r--dquote_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dquote_static.c b/dquote_static.c
index 868cd06b7d..5cc890b13c 100644
--- a/dquote_static.c
+++ b/dquote_static.c
@@ -68,7 +68,7 @@ S_grok_bslash_c(pTHX_ const char source, const bool utf8, const bool output_warn
else {
U8 clearer[3];
U8 i = 0;
- if (! isALNUM(result)) {
+ if (! isWORDCHAR(result)) {
clearer[i++] = '\\';
}
clearer[i++] = result;