This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1338064
)
utf8.c: Change is_uni_idfirst_lc() to use Perl's defn
author
Karl Williamson
<public@khwilliamson.com>
Mon, 3 Dec 2012 04:55:16 +0000
(21:55 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Sun, 9 Dec 2012 17:30:01 +0000
(10:30 -0700)
The Perl definition is slightly more restrictive of what Unicode's
idfirst is. We should use our definition consistently.
utf8.c
patch
|
blob
|
blame
|
history
diff --git
a/utf8.c
b/utf8.c
index
11af768
..
e3eba9c
100644
(file)
--- a/
utf8.c
+++ b/
utf8.c
@@
-1844,7
+1844,7
@@
Perl_is_uni_alnumc_lc(pTHX_ UV c)
bool
Perl_is_uni_idfirst_lc(pTHX_ UV c)
{
- return
is_uni_idfirst(c);
/* XXX no locale support yet */
+ return
_is_uni_perl_idstart(c);
/* XXX no locale support yet */
}
bool