diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-02 22:21:57 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-12-09 10:30:01 -0700 |
commit | 3e66ab740f792cca1d93fe61005bad29472731f5 (patch) | |
tree | c792cd6fe9a1cced616bfe9bc3b61a63db37e084 /handy.h | |
parent | 36b00f93e6f26e54cbdf0c63541c312cf1f34642 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |