summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-01-25 11:01:49 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-01-25 11:01:49 +0000
commiteb1102fcca2230364ceadea29bd8e87ee51b15fa (patch)
treebbe40957b80489b669b86133adb740b5d811cf73 /utf8.h
parent3ed9f8f7de3dfc6ca29c4acc02b797c9dd51d971 (diff)
downloadperl-eb1102fcca2230364ceadea29bd8e87ee51b15fa.tar.gz
Integrate mainline
All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/utf8.h b/utf8.h
index 2ac5f91c2c..c69cd86bfb 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1,6 +1,6 @@
/* utf8.h
*
- * Copyright (c) 1998-2001, Larry Wall
+ * Copyright (c) 1998-2002, Larry Wall
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -199,10 +199,10 @@ END_EXTERN_C
#define UNI_DISPLAY_QQ (UNI_DISPLAY_ISPRINT|UNI_DISPLAY_BACKSLASH)
#define UNI_DISPLAY_REGEX (UNI_DISPLAY_ISPRINT|UNI_DISPLAY_BACKSLASH)
-#define ANYOF_UNICODE_FOLD_SHARP_S(n, s, e) \
- (ANYOF_BITMAP_TEST(n, UNICODE_LATIN_SMALL_LETTER_SHARP_S) && \
- ANYOF_FLAGS(n) & ANYOF_UNICODE && \
- ANYOF_FLAGS(n) & ANYOF_FOLD && \
- ((e) > (s) + 1) && \
- toLOWER((s)[0]) == 's' && \
- toLOWER((s)[1]) == 's')
+#define ANYOF_UNICODE_FOLD_SHARP_S(node, input, end) \
+ (ANYOF_BITMAP_TEST(node, UNICODE_LATIN_SMALL_LETTER_SHARP_S) && \
+ (ANYOF_FLAGS(node) & ANYOF_UNICODE) && \
+ (ANYOF_FLAGS(node) & ANYOF_FOLD) && \
+ ((end) > (input) + 1) && \
+ toLOWER((input)[0]) == 's' && \
+ toLOWER((input)[1]) == 's')