From d22b930b662c8c65d2e856c42f4a59454444a111 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 25 Apr 2013 10:07:47 -0600 Subject: Use new case changing macros The previous commit added macros to do some case changing. This commit uses them in the core, where appropriate. --- utf8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utf8.h') diff --git a/utf8.h b/utf8.h index 01d8f5fa20..ea54a2d262 100644 --- a/utf8.h +++ b/utf8.h @@ -504,8 +504,8 @@ Perl's extended UTF-8 means we can have start bytes up to FF. (ANYOF_NONBITMAP(node)) && \ (ANYOF_FLAGS(node) & ANYOF_LOC_NONBITMAP_FOLD) && \ ((end) > (input) + 1) && \ - toLOWER((input)[0]) == 's' && \ - toLOWER((input)[1]) == 's') + toFOLD((input)[0]) == 's' && \ + toFOLD((input)[1]) == 's') #define SHARP_S_SKIP 2 /* If you want to exclude surrogates, and beyond legal Unicode, see the blame -- cgit v1.2.1