diff options
author | Karl Williamson <khw@cpan.org> | 2016-10-12 19:12:11 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-10-13 11:18:12 -0600 |
commit | f4caf2b26940946566282dc266c4d4964d38d036 (patch) | |
tree | e2a14238f6b8bbe06b3c032c5cb97e64c28082ad /utf8.h | |
parent | f9380377ac81dfbd87f997094a742406eb899a15 (diff) | |
download | perl-f4caf2b26940946566282dc266c4d4964d38d036.tar.gz |
utf8.h: Simplify macro
This complicated macro boils down to just one bit.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -779,9 +779,7 @@ case any call to string overloading updates the internal UTF-8 encoding flag. #define UTF8_ALLOW_ANY \ (~( UTF8_DISALLOW_ILLEGAL_INTERCHANGE|UTF8_DISALLOW_ABOVE_31_BIT \ |UTF8_WARN_ILLEGAL_INTERCHANGE|UTF8_WARN_ABOVE_31_BIT)) -#define UTF8_ALLOW_ANYUV \ - (UTF8_ALLOW_EMPTY \ - & ~(UTF8_DISALLOW_ILLEGAL_INTERCHANGE|UTF8_WARN_ILLEGAL_INTERCHANGE)) +#define UTF8_ALLOW_ANYUV UTF8_ALLOW_EMPTY #define UTF8_ALLOW_DEFAULT (ckWARN(WARN_UTF8) ? 0 : \ UTF8_ALLOW_ANYUV) |