diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-01-09 18:36:10 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-09 19:29:03 -0700 |
commit | 684f3160b835198ccd5c275c05ba2e0976054561 (patch) | |
tree | 2e5696de95890ffc7e2034034178a5b2231ea875 /utf8.h | |
parent | 0e67c69ffa3f5162e422bb6bb1a30e1aef84709b (diff) | |
download | perl-684f3160b835198ccd5c275c05ba2e0976054561.tar.gz |
utf8.h: remove wrong, no-longer used #define
UNICODE_ILLEGAL only referred to one of 66 code points in the same class. And
they aren't illegal except in certain circumstances. New #defines have taken
over the use this formerly had, so it is now meaningless.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -372,7 +372,6 @@ Perl's extended UTF-8 means we can have start bytes up to FF. #define UNICODE_SURROGATE_LAST 0xDFFF #define UNICODE_REPLACEMENT 0xFFFD #define UNICODE_BYTE_ORDER_MARK 0xFEFF -#define UNICODE_ILLEGAL 0xFFFF /* Though our UTF-8 encoding can go beyond this, * let's be conservative and do as Unicode says. */ @@ -400,7 +399,6 @@ Perl's extended UTF-8 means we can have start bytes up to FF. (c) <= UNICODE_SURROGATE_LAST) #define UNICODE_IS_REPLACEMENT(c) ((c) == UNICODE_REPLACEMENT) #define UNICODE_IS_BYTE_ORDER_MARK(c) ((c) == UNICODE_BYTE_ORDER_MARK) -#define UNICODE_IS_ILLEGAL(c) ((c) == UNICODE_ILLEGAL) #define UNICODE_IS_NONCHAR(c) ((c >= 0xFDD0 && c <= 0xFDEF) \ /* The other noncharacters end in FFFE or FFFF, which \ * the mask below catches both of, but beyond the last \ |