summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-01-09 12:12:00 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-09 10:13:56 -0700
commit851131d3e04cc3e811d1777d97e35d66192b9ff7 (patch)
treef42c37ebfeceb4ddedb4ac6acdd1af4e5afec261 /handy.h
parent35245af46df86a11fd27832c39945b4dbcafaf8b (diff)
downloadperl-851131d3e04cc3e811d1777d97e35d66192b9ff7.tar.gz
handy.h: Add comment
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index 8777644aa7..df24bf509e 100644
--- 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))