summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-06-12 12:36:13 -0600
committerKarl Williamson <khw@cpan.org>2020-07-30 16:37:34 -0600
commit3bc816950a7e90f114a6738345a61f4061c7e02f (patch)
tree17b3d5d53c63af2fb765d0e8682ecf205fea0589 /utf8.h
parent9571c4e3dfcf3f04e0f701b7392e4b8fc1641613 (diff)
downloadperl-3bc816950a7e90f114a6738345a61f4061c7e02f.tar.gz
utf8.h: Remove obsolete macro
It turns out that this macro would have failed to compile since commit 538b546eb0f252250a30c08e6af47d0ea7433fa1, in October 2013. So it is clear no one is using it.
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/utf8.h b/utf8.h
index f530172637..9c7c1409ca 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1024,13 +1024,6 @@ Evaluates to 0xFFFD, the code point of the Unicode REPLACEMENT CHARACTER
/* Character classes could also allow \b, but not patterns in general */
#define UNI_DISPLAY_REGEX (UNI_DISPLAY_ISPRINT|UNI_DISPLAY_BACKSLASH)
-#define ANYOF_FOLD_SHARP_S(node, input, end) \
- (ANYOF_BITMAP_TEST(node, LATIN_SMALL_LETTER_SHARP_S) && \
- (ANYOF_NONBITMAP(node)) && \
- (ANYOF_FLAGS(node) & ANYOF_LOC_NONBITMAP_FOLD) && \
- ((end) > (input) + 1) && \
- isALPHA_FOLD_EQ((input)[0], 's'))
-
#define SHARP_S_SKIP 2
#define is_utf8_char_buf(buf, buf_end) isUTF8_CHAR(buf, buf_end)