From 3e66ab740f792cca1d93fe61005bad29472731f5 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 2 Dec 2012 22:21:57 -0700 Subject: [PATCH] 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. --- handy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handy.h b/handy.h index 1022c01..b80a5fe 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)) -- 2.7.4