X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=utfebcdic.h;h=c2ecc14c55c6dc1222507f4eea882b2fa4754c14;hb=9f44f717b5c2e526c60d74be999e0ad9ef069b1a;hp=7d03608b41349a78a41c1bb55c482547151a636f;hpb=e1ec3a884f8d8c64eb7e391b2a363f47cbeed570;p=p5sagit%2Fp5-mst-13.2.git diff --git a/utfebcdic.h b/utfebcdic.h index 7d03608..c2ecc14 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -1,6 +1,7 @@ /* utfebcdic.h * - * Copyright (C) 2001, 2002, by Larry Wall, Nick Ing-Simmons, and others + * Copyright (C) 2001, 2002, 2003, 2005, 2006 by Larry Wall, Nick + * Ing-Simmons, and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -337,7 +338,7 @@ EXTCONST unsigned char PL_a2e[]; END_EXTERN_C -#define UTF8SKIP(s) PL_utf8skip[*(const U8*)s] +#define UTF8SKIP(s) PL_utf8skip[*(const U8*)(s)] /* EBCDIC-happy ways of converting native code to UTF-8 */ @@ -357,8 +358,8 @@ END_EXTERN_C /* * Note: we should try and be careful never to call the isXXX_utf8() functions * unless we're pretty sure we've seen the beginning of a UTF-EBCDIC character - * Otherwise we risk loading in the heavy-duty SWASHINIT and SWASHGET routines - * unnecessarily. + * Otherwise we risk loading in the heavy-duty swash_init and swash_fetch + * routines unnecessarily. */ #define isIDFIRST_lazy_if(p,c) ((IN_BYTES || (!c || UTF8_IS_INVARIANT(*p))) \