handy.h: Add comment
authorKarl Williamson <public@khwilliamson.com>
Mon, 9 Jan 2012 19:12:00 +0000 (12:12 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 9 Feb 2012 17:13:56 +0000 (10:13 -0700)
handy.h

diff --git a/handy.h b/handy.h
index 8777644..df24bf5 100644 (file)
--- a/handy.h
+++ b/handy.h
@@ -827,6 +827,10 @@ EXTCONST U32 PL_charclass[];
 
 #  if defined(CTYPE256) || (!defined(isascii) && !defined(HAS_ISASCII))
 
+/* Note that the foo_LC() macros in this case generally are defined only on
+ * code points 0-256, and give undefined, unwarned results if called with
+ * values outside that range */
+
 #    define isALNUM_LC(c)   (isalnum((unsigned char)(c)) || (char)(c) == '_')
 #    define isIDFIRST_LC(c) (isalpha((unsigned char)(c)) || (char)(c) == '_')
 #    define isALPHA_LC(c)      isalpha((unsigned char)(c))