Deparse the /d flag with implicit features
authorFather Chrysostomos <sprout@cpan.org>
Sun, 25 Dec 2011 02:07:33 +0000 (18:07 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 25 Dec 2011 03:14:25 +0000 (19:14 -0800)
commitdff5ffe48973403ad9fd15472a494ceb8a4df109
tree013f13a906394f8aba211959708bc11a112cb616
parent36727b534b2c3bc6309920028fdbb8df5f8f8578
Deparse the /d flag with implicit features

Before the recent feature revamp (2fc860ee1e0), loading the
unicode_strings feature would always set the feature_unicode %^H ele-
ment, even though the core did not actually use it.  Now it is some-
times not set.  So we have to check the hint bits as well.  Since
feature.pm has it hardcoded, load feature.pm to get the right bit.

The stuff with $feature_bundle_mask is redundant, but it avoids load-
ing feature.pm unnecessarily.
dist/B-Deparse/Deparse.pm
dist/B-Deparse/t/deparse.t