diff options
author | Karl Williamson <khw@cpan.org> | 2015-11-06 10:56:23 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-12-05 22:06:50 -0700 |
commit | fdb6583df1c4f517177410eb3717709aebd3b25a (patch) | |
tree | ab608b16702e8e5a3baab0e6b425eeb3c005b78b /utf8.h | |
parent | 72164d3add31277285dcd604f1d805aac391be5b (diff) | |
download | perl-fdb6583df1c4f517177410eb3717709aebd3b25a.tar.gz |
utf8.h: Refactor a macro
This new definition expands to the same thing as before, but now the
unexpanded text is identical to the EBCDIC definition (which expands to
something else), so the next commit can combine the ASCII and EBCDIC
ones into a single definition.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -275,7 +275,7 @@ encoded as UTF-8. C<cp> is a native (ASCII or EBCDIC) code point if less than =cut */ -#define UVCHR_SKIP(uv) OFFUNISKIP(uv) +#define UVCHR_SKIP(uv) ( UVCHR_IS_INVARIANT(uv) ? 1 : __BASE_UNI_SKIP(uv)) /* ^? is defined to be DEL on ASCII systems. See the definition of toCTRL() * for more */ |