This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mro UTF8 cleanup.
authorBrian Fraser <fraserbn@gmail.com>
Wed, 6 Jul 2011 13:41:10 +0000 (10:41 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 20:01:10 +0000 (13:01 -0700)
commit204e6232679d0d412347fddd9e5bd0e529da73d5
treef277f72f11f914e9b6c9874e5e48c22d56ba27a1
parenta00b390b6689672af8817e28321f92e70369c0d4
mro UTF8 cleanup.

This patch also duplicates existing mro tests with copies that use
Unicode in identifiers, to test the mro code.

Since those tests trigger it, it also fixes a bug in the parsing
of *{...}: If the first character inside the braces is a non-ASCII
Unicode identifier character, the inside is now implicitly quoted
if it is just an identifier (just as it is with ASCII identifiers),
instead of being parsed as a bareword that would violate strict subs.
43 files changed:
MANIFEST
embed.fnc
embed.h
ext/mro/mro.xs
mro.c
proto.h
t/mro/basic_01_c3_utf8.t [new file with mode: 0644]
t/mro/basic_01_dfs_utf8.t [new file with mode: 0644]
t/mro/basic_02_c3_utf8.t [new file with mode: 0644]
t/mro/basic_02_dfs_utf8.t [new file with mode: 0644]
t/mro/basic_03_c3_utf8.t [new file with mode: 0644]
t/mro/basic_03_dfs_utf8.t [new file with mode: 0644]
t/mro/basic_04_c3_utf8.t [new file with mode: 0644]
t/mro/basic_04_dfs_utf8.t [new file with mode: 0644]
t/mro/basic_05_c3_utf8.t [new file with mode: 0644]
t/mro/basic_05_dfs_utf8.t [new file with mode: 0644]
t/mro/basic_utf8.t [new file with mode: 0644]
t/mro/c3_with_overload_utf8.t [new file with mode: 0644]
t/mro/complex_c3_utf8.t [new file with mode: 0644]
t/mro/complex_dfs_utf8.t [new file with mode: 0644]
t/mro/dbic_c3_utf8.t [new file with mode: 0644]
t/mro/dbic_dfs_utf8.t [new file with mode: 0644]
t/mro/inconsistent_c3_utf8.t [new file with mode: 0644]
t/mro/isa_aliases_utf8.t [new file with mode: 0644]
t/mro/isa_c3_utf8.t [new file with mode: 0644]
t/mro/isa_dfs_utf8.t [new file with mode: 0644]
t/mro/isarev_utf8.t [new file with mode: 0644]
t/mro/method_caching_utf8.t [new file with mode: 0644]
t/mro/next_NEXT_utf8.t [new file with mode: 0644]
t/mro/next_edgecases_utf8.t [new file with mode: 0644]
t/mro/next_goto_utf8.t [new file with mode: 0644]
t/mro/next_inanon_utf8.t [new file with mode: 0644]
t/mro/next_ineval_utf8.t [new file with mode: 0644]
t/mro/next_method_utf8.t [new file with mode: 0644]
t/mro/next_skip_utf8.t [new file with mode: 0644]
t/mro/overload_c3_utf8.t [new file with mode: 0644]
t/mro/package_aliases_utf8.t [new file with mode: 0644]
t/mro/pkg_gen_utf8.t [new file with mode: 0644]
t/mro/recursion_c3_utf8.t [new file with mode: 0644]
t/mro/recursion_dfs_utf8.t [new file with mode: 0644]
t/mro/vulcan_c3_utf8.t [new file with mode: 0644]
t/mro/vulcan_dfs_utf8.t [new file with mode: 0644]
toke.c