summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-02 22:21:57 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-09 10:30:01 -0700
commit3e66ab740f792cca1d93fe61005bad29472731f5 (patch)
treec792cd6fe9a1cced616bfe9bc3b61a63db37e084 /handy.h
parent36b00f93e6f26e54cbdf0c63541c312cf1f34642 (diff)
downloadperl-3e66ab740f792cca1d93fe61005bad29472731f5.tar.gz
handy.h: Make clear that macro is only true in ASCII range
I don't believe there are platforms that this is wrong on, but using the _A suffix clearly indicates that only ASCII-range characters can match this, like its cohort macros that surround it.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 1022c01a8a..b80a5fe25a 100644
--- a/handy.h
+++ b/handy.h
@@ -916,7 +916,7 @@ EXTCONST U32 PL_charclass[];
# ifdef HAS_ISBLANK
# define isBLANK_LC(c) (isascii(c) && isblank(c))
# else
-# define isBLANK_LC(c) isBLANK(c)
+# define isBLANK_LC(c) isBLANK_A(c)
# endif
# define isSPACE_LC(c) (isascii(c) && isspace(c))
# define isDIGIT_LC(c) (isascii(c) && isdigit(c))