5 skip_all_without_unicode_tables();
10 # Looks to see if a "do 'unicore/lib/Scx/Hira.pl'" is called more than once, by
11 # putting a compile sub first on the library path;
12 # XXX Kludge: requires exact path, which might change, and has deep knowledge
13 # of how utf8_heavy.pl works, which might also change.
15 BEGIN { # Make sure catches compile time references
18 $::count++ if $_[1] eq 'unicore/lib/Scx/Hira.pl';
24 # The second value is to prevent an optimization that exists at the time this
25 # is written to re-use a property without trying to look it up if it is the
26 # only thing in a character class. They differ in order to make sure that any
27 # future optimizations that don't re-use identical character classes don't come
29 $s =~ m/[\p{Hiragana}\x{101}]/;
30 $s =~ m/[\p{Hiragana}\x{102}]/;
31 $s =~ m/[\p{Hiragana}\x{103}]/;
32 $s =~ m/[\p{Hiragana}\x{104}]/;
34 is($::count, 1, "Swatch hash caching kept us from reloading swatch hash.");