This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Use less confusing property name
authorKarl Williamson <public@khwilliamson.com>
Sat, 24 Sep 2011 18:34:33 +0000 (12:34 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 1 Oct 2011 15:58:08 +0000 (09:58 -0600)
The XPerlSpace is less confusing than SpacePerl (at least to me).  It
means take PerlSpace and extend it beyond ASCII.

utf8.c

diff --git a/utf8.c b/utf8.c
index c7efcf1..3b1a945 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -1564,7 +1564,7 @@ Perl_is_utf8_space(pTHX_ const U8 *p)
 
     PERL_ARGS_ASSERT_IS_UTF8_SPACE;
 
-    return is_utf8_common(p, &PL_utf8_space, "IsSpacePerl");
+    return is_utf8_common(p, &PL_utf8_space, "IsXPerlSpace");
 }
 
 bool